hi,
thanks for your reply..
sorry but while arranging images by mistake i interchange image 1 and image
3. i want complete text in 2 lines just below bar graph (in 1024x768 screen)
On Monday, August 19, 2013 9:33:23 PM UTC+5:30, asgallant wrote:
>
> Setting hAxis.maxAlternation to 1 forces the labels to be on the same
> line. You want to set it to 2 for your chart. You also want to set
> hAxis.maxTextLines to 1 so that the labels don't split into two lines.
>
> var options = {
> hAxis: {
> title: 'Status',
> minTextSpacing:1,
> maxAlternation:2,
> maxTextLines:1,
> titleTextStyle: {
> color: '#82cf00',
> fontName: '"Arial"',
> fontSize: 14
> },
> gridlines: {
> color: '#ffd265',
> count: -1
> },
> baselineColor: 'green',
> baseline: 0,
> textStyle: {
> color: 'black',
> fontSize: 12
> }
> },
> vAxis: {
> title: 'Help Count',
> titleTextStyle: {
> color: '#82cf00',
> fontName: '"Arial"',
> fontSize: 14
> },
> gridlines: {
> color: '#ffd265',
> count: -1
> },
> baselineColor: 'orange',
> textStyle: {
> color: 'black',
> fontSize: 12
> }
> },
> height: 250,
> width: width,
> fontSize: 10,
> fontName: '"Arial"',
> tooltip: {
> textStyle: {
> fontName: '"Arial"',
> fontSize: 14
> },
> isHtml: true
> },
> colors: ['#82cf00']
> };
>
>
> On Monday, August 19, 2013 11:39:43 AM UTC-4, Sushil Aggarwal wrote:
>>
>> hi,
>>
>> setting hAxis.maxAlternation to 1 and playing with the value of
>> hAxis.minTextSpacing doesnot resolve the issue. image 1 is the actual data
>> showing, image2 is result of setting above 2 values and images 3 is the
>> actual result that i want to achieve.
>>
>>
>>
>>
>>
>> <https://lh4.googleusercontent.com/-gtFeDTBAj98/UhI7LyJSMdI/AAAAAAAAAKY/X1-ry2TXkJo/s1600/image3.PNG><https://lh6.googleusercontent.com/-25gEvUsj8k4/UhI7I8vslaI/AAAAAAAAAKQ/OSeXJzKS-_E/s1600/image2.PNG><https://lh4.googleusercontent.com/-iIBhukYbE5I/UhI7FV2Ya6I/AAAAAAAAAKI/iSZV2ksR_Gw/s1600/image1.PNG>
>>
>> var options = {
>>
>> hAxis: { title: 'Status',
>> minTextSpacing:1,maxAlternation:1, titleTextStyle: { color: '#82cf00',
>> fontName: '"Arial"', fontSize: 14 }, gridlines: { color: '#ffd265', count:
>> -1 }, baselineColor: 'green', baseline: 0, textStyle: { color: 'black',
>> fontSize: 12} },
>>
>> vAxis: { title: 'Help Count', titleTextStyle: {
>> color: '#82cf00', fontName: '"Arial"', fontSize: 14 }, gridlines: { color:
>> '#ffd265', count: -1 }, baselineColor: 'orange', textStyle: { color:
>> 'black', fontSize: 12 } },
>>
>> height: 250,
>>
>> width: width,
>>
>> fontSize: 10,
>>
>> fontName: '"Arial"',
>>
>> tooltip: { textStyle: { fontName: '"Arial"',
>> fontSize: 14 }, isHtml: true },
>>
>> colors: ['#82cf00']
>>
>> };
>>
>>
>> *thz in advance..
>> *
>> *
>> *
>>
>
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/groups/opt_out.