Jump to content
JChartFX Community
  • 0

How Can I Group My data?


Ricard

Question

chart1 = new cfx.Chart();
chart1.getLegendBox().setVisible(false);
chart1.getAllSeries().setGallery(cfx.Gallery.Bubble);
   var items =[{"x":"M1", "batch no":13, "Weight":12},{"x":"M2", "batch no":32, "Weight":55},{"x":"M3", "batch no":55, "Weight":16},{"x":"M1", "batch no":17, "Weight":12}];
    chart1.setDataSource(items);
chart1.create(document.getElementById('ChartDiv1'));
 
How Can I Group json data "x" ? 
Link to comment
Share on other sites

1 answer to this question

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.

Guest
Answer this question...

×   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.

Loading...
×
×
  • Create New...