PocketQuery (GoogleCharts) - Axis labels

eminkevich_scg August 17, 2014

Good day,

Is it possible to instruct PocketQuery (or GoogleCharts) to display a bit more of the X axis lables?

I have the following problem:

As you can see the text does not fit..

Configuration:

var options = { 
title: '$queryParameters.hostname',
height: 300,
width: 600,
vAxis: { minValue: 0, maxValue: 1, format:'#%' },
hAxis: {slantedTextAngle:45 },
legend: {position:'none'}
};

PocketQuery.chart('LineChart', options);

Thank you!

1 answer

1 accepted

0 votes
Answer accepted
eminkevich_scg August 17, 2014

Ok,

the font of the axis can be controlled through options:

hAxis: { slantedTextAngle:45, textStyle: { color: '#005500', fontSize: '10', paddingRight: '100', marginRight: '100'} },

Felix Grund (Scandio)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 7, 2014

Thank you, Evgeny! Welcome to the PocketQuery team ;)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events