|
put data value in vertical format |
Posted by Bipin K Singh on Jan-07-2011 23:13 |
|
Hi Peter,
i just to put all the garph value in vertical format.. now it's seem like horizontal format... so please help me out for put these value in vertical format...in java...
Thanks & Regards,
Bipin Singh
|
Re: put data value in vertical format |
Posted by Peter Kwan on Jan-08-2011 02:43 |
|
Hi Bipin,
By "vertical", I assume you mean to rotate the text by 90 degrees. The followings are some examples:
//xAxis label style = Arial 8pt black rotated by 90 degrees
c.xAxis().setLabelStyle("arial.ttf", 8, 0x000000, 90);
//data label style = Arial 8pt black rotated by 90 degrees
layer.setDataLabelStyle("arial.ttf", 8, 0x000000, 90);
Should you need further information, please feel free to contact me.
Regards
Peter Kwan |
Re: put data value in vertical format |
Posted by Bipin K Singh on Jan-08-2011 15:23 |
|
Hi Peter,
Thanks for the reply.
So with this code i also assume my all the data points (which are represent the graph value) on the graph will rotote on 90 degree.
Thanks & Regards,
Bipin K Signh |
Re: put data value in vertical format |
Posted by Peter Kwan on Jan-09-2011 11:08 |
|
Hi Bipin,
I am not sure what you mean by "all the data points on the graph will rotote on 90 degree". Do you mean something like the chart in the "Rotated Line Chart" sample code? (You may look for "Rotated Line Chart" in the ChartDirector documentation index.)
If the above is not what you need, would you mind to attach an example of what you want to help me understand your requirements?
Regards
Peter Kwan |
|