#49 About the X-Axis Labels orientation in Stacked Bar Chart

open
nobody
None
5
2004-11-27
2004-11-27
Anonymous
No

Dear Sir,

I am a user of the jCharts 0.6.0 ,I will remain ever
thankful to you if you please send me an way out that
helps me solving ,my following purpose,

I am attaching here a jpeg image showing the output of
my graph.

Where X-Axis labels
(e.g "DECK","PRODUCTION","ENGINE",etc..) are oriented
horizonatlly and consuming a maximum amount of space
and creating a real problem in maintaining the size of the
graph and beautification also.

I want the graph to show the X-Axis labels in vertical
orientation that solves my purpose well.

Please send me the all possible solutions for the problem
at my mentioned email address.

Regards,

Sudipta Adhikary
Software Engineer
Email:sudipta.adhikary@visioncomptech.com

Discussion

  • CarQueryGraph.jpg

     
    Attachments
  • Logged In: NO

    Hi

    Even am facing the same problem. I am creating a clustered
    bar chart and I have 10 items in the X axis label. None of
    these items hold null value but still every alternate label
    item is missing in the chart .jpg file? I tried to set
    vertical rendering of the label by using the api
    valueLabelRenderer.useVerticalLabels(true); but this api
    doent seem to perform any thing. Can you suggest some means
    to get rid of this problem.

    Regards
    Pradeep

     
  • Logged In: NO

    I am not sure if this method was introduced jCharts 0.6.0.
    But if you are using jCharts 0.7.5, I believe the following
    would solve your problem.
    axisProperties.setXAxisLabelsAreVertical(true);
    This will render your xaxis labels in vertical.
    regards
    pradeep