|
Verticle labels on x-axis |
Posted by E Ramesh on Mar-14-2011 19:04 |
|
Hi,
I'm using chartdirector(netchartdir.dll v4.1).
Can anyone tell me how to set the labels on the x-axis vertically. because of the lengthy labels i couldn't show all the labels on the x-axis which is very important. So, i was trying to set the labels in verticle format rather in horizontal.
what i mean by verticle label is if the label is "abc" i wanted to show it as
"a
b
c".
Thanks
Ramesh |
Re: Verticle labels on x-axis |
Posted by Peter Kwan on Mar-15-2011 00:21 |
|
Hi Ramesh,
Do you mean to rotate the labels by 90 degrees, like in the sample code "Trend Line Charts"? The code is (in C#):
//set label font as Arial 8pt black rotated by 90 degrees
c.xAxis().setLabelStyle("Arial", 8, 0x000000, 90);
Hope this can help.
Regards
Peter Kwan |
Re: Verticle labels on x-axis |
Posted by Ramesh on Mar-15-2011 13:53 |
|
Exactly this is what i was looking for. But i think i need to increase the chart drawing area to show complete label.
Thanks Peter!!!
Ramesh |
|