Home Forums Chart Support Numbers of data in config

Numbers of data in config

Viewing 2 posts - 1 through 2 (of 2 total)
  • #24782

    hi, i got a question about limitation of numbers of data in config.
    how many item in data can be set?

    
    data: [{
    		name: "Myrtle Beach",
    		type: "spline",
    		yValueFormatString: "#0.## °C",
    		showInLegend: true,
    		dataPoints: [
    			{ x: new Date(2017,6,24), y: 31 },
    			{ x: new Date(2017,6,25), y: 31 },
    			{ x: new Date(2017,6,26), y: 29 },
    			{ x: new Date(2017,6,27), y: 29 },
    			{ x: new Date(2017,6,28), y: 31 },
    			{ x: new Date(2017,6,29), y: 30 },
    			{ x: new Date(2017,6,30), y: 29 }
    		]
    	},
    	{
    		name: "Martha Vineyard",
    		type: "spline",
    		yValueFormatString: "#0.## °C",
    		showInLegend: true,
    		dataPoints: [
    			{ x: new Date(2017,6,24), y: 20 },
    			{ x: new Date(2017,6,25), y: 20 },
    			{ x: new Date(2017,6,26), y: 25 },
    			{ x: new Date(2017,6,27), y: 25 },
    			{ x: new Date(2017,6,28), y: 25 },
    			{ x: new Date(2017,6,29), y: 25 },
    			{ x: new Date(2017,6,30), y: 25 }
    		]
    	},
    	{
    		name: "Nantucket",
    		type: "spline",
    		yValueFormatString: "#0.## °C",
    		showInLegend: true,
    		dataPoints: [
    			{ x: new Date(2017,6,24), y: 22 },
    			{ x: new Date(2017,6,25), y: 19 },
    			{ x: new Date(2017,6,26), y: 23 },
    			{ x: new Date(2017,6,27), y: 24 },
    			{ x: new Date(2017,6,28), y: 24 },
    			{ x: new Date(2017,6,29), y: 23 },
    			{ x: new Date(2017,6,30), y: 23 }
    		]
    	}]
    • This topic was modified 5 years, 7 months ago by JoshL.
    #24794

    @joshl,

    There is no restrictions on number of dataSeries, as of now.


    Vishwas R
    Team CanvasJS

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.