Jump to content
JChartFX Community

flippy

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by flippy

  1. Hi,

    I woud like to pass a JSON datasource to a scatter chart but I could not find the proper format to set the X and Y coordinates of my points.

    I saw this example to setup the data via API:

    
    

    data.getX().setItem(0, 0, (-100));

    data.getY().setItem(0, 0, (5));

    What is the equivalent in a JSON format that I could pass to this function?

    chart1.setDataSource(jsonData);

    Cheers,

    Flippy

×
×
  • Create New...