Home › forums › Using CanvasJS › Formatting charts & markers
This topic contains 2 replies, has 2 voices, and was last updated by Shashi Ranjan 6 months, 3 weeks ago.
I’m new to canvasjs and have been working with scatter plots for a couple weeks now. I’m using customization for charts and datapoints and not sure which customization I’m using that’s causing the charts to look different.
These two charts have the same customization (chart height, width and data point marker size, and interval) but the format changes when the number of data points change. Most notably, with the fewer data points, the markers don’t start on the x axis – they start plotting a bit above the axis. Also note the space between each marker that exists with low number of data points that does not exist when the numbers get larger. Finally, the top data point is much taller than the other data points.
Here are my current customizations:
text: “NWEA Summer Learning Loss: Math”
title: “Current Grade Level”,
title: “# of Students”,
<body><div id=”RedchartContainer” style=”height: 600px; max-width: 920px; margin: 0px auto;”></div>
Can you kindly create a JSFiddle with sample data, so that we can understand the use case better and help you out?
You must be logged in to reply to this topic.