brk_801 Posted June 20, 2007 Report Share Posted June 20, 2007 Hi here i am working with the ChartFX with the JSPs. I have some problem with the chartFX, when i am generating the multi coloured bars on the chart using jsps for (int i=0;i<2;i++){ for (int j=0;j<10;j++){ if(j==0){value=650000;} if(j==1){value=400000;} chart1.getValue().setItem(i, j, value); } with this code i am comfortably getting the multiple coloures bars(height or value) on the graph when I use jsps. Now for the sake of reusability i have trasfered this code to one java class which a sub-class of ChartServer.And i am calling this class from the jsp file. But in this two cases the output is not same. With the jsps, i am comfortably getting the single bar with multiple colours but using java class i am getting the graph with multiple bars with multiple colours. Please answer ASAP Regards Rama Krishna Bagam Quote Link to comment Share on other sites More sharing options...
arunm Posted June 22, 2007 Report Share Posted June 22, 2007 Can you please post a more complete code example? Thanks, AM 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.