Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
395
How to show captions along X and Y-axis in Chart ?
posted

Hi,

        I would like to show captions that appears along X and Y- axis in a webchart. How do I do that ?

I am adding my axis dynamically to chart as under:

                //Add yAxis settings
                Axis yAxis = new Axis();
                yAxis.setAutoRange(true);
                yAxis.setAutoRangeSnap(true);
                yAxis.setAutoTickMarks(true);
                chart1.getChildren().add(yAxis);
                yAxis.setParent(chart1);

Parents Reply Children
No Data