Jump to content
Software FX Community

performance difference in jsps and POJO in chartFX


brk_801

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...