jaishree 0 Posted July 21, 2011 Report Share Posted July 21, 2011 I used ListProvider to populate the data for my chart. By the default the X-Axis Lables are the headers for my Data Grid. I need to have different customized lables and the x axis lables as data under them. can anyone help please //Sample Code chart1.getDataSourceSettings().setDataSource(lstProvider); chart1.setWidth(750); chart1.setHeight(750); chart1.setGallery(Gallery.BAR); chart1.getAllSeries().setStacked(Stacked.NORMAL); chart1.getData().setPoints(10); chart1.getAxisY().setMin(0); chart1.getAxisY().setMax(800); chart1.getAxisY().setStep(100); chart1.getAxisY().getTitle().setText("test"); //Series chart1.getSeries().get(0).setText("A"); chart1.getSeries().get(1).setText( "B");chart1.getSeries().get(2).setText("C"); chart1.getAxisX().setLabelAngle((short) 90); DataGrid obj = chart1.getDataGrid(); chart1.getDataGrid().setVisible(true); chart1.getDataGrid().setDock(DockArea.BOTTOM);obj.setVisible(true); chart1.renderControl(); %> Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.