Shady Posted April 14, 2011 Report Share Posted April 14, 2011 Hi, I am trying to display a Pyramid chart with last point value set to zero, however no chart is appearing. Anyone knows if I am missing something or if this is a bug? A simplified testcase to reproduce is: public static void main(String[] args) { Chart cc = new Chart(); cc.setGallery(Gallery.PYRAMID); cc.getData().setSeries(1); cc.getData().setPoints(2); cc.getData().set(0, 0, 10); cc.getData().set(0, 1, 0); //If we change this value, the chart is displayed JFrame f = new JFrame(); f.getContentPane().add(cc); f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); f.pack(); f.setVisible(true); } Note that the same chart displayed in Pie for example is visible. Thanks, Shady Quote Link to comment Share on other sites More sharing options...
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.