Jump to content
JChartFX Community

ExequielA

Members
  • Posts

    2
  • Joined

  • Last visited

ExequielA's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hello, You can clear the data by assigning an empty item to the DataSource, take a look at the following code: var items = []; chart1.setDataSource(items); Using arrays is a quick way of passing data to the chart, please refer to the sample below: var items = [ {"Value": 9}, {"Value": 15}, {"Value": 21}, {"Value": 26}, {"Value": 35} ]; chart1.setDataSource(items); I hope this helps.
×
×
  • Create New...