Jump to content
Software FX Community

performance difference in jsps and POJO in chartFX


brk_801
 Share

Recommended Posts

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 

 

 

 

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...