Scale Breaks are used to shrink the axis-range in order to remove unnecessary regions.
You can minimize the space occupied by the break using spacing and remove the scale-break line by setting lineThickness to 0. Please take a look at this updated jsfiddle.
—
Vishwas R
Team CanvasJS
You can render multi-series chart from CSV data by parsing data and passing it to Chart in the format accepted by CanvasJS. Please take a look at this jsfiddle.
Refer Creating Chart from CSV for tutorial / more info on rendering chart from a CSV file.
—
Vishwas R
Team CanvasJS
The 500 code would normally indicate an error on the server, not anything with your code. The jsfiddle that you have shared seems to be working fine.
Refer these articles on How to Fix a 500 Internal Server Error, 500 Internal Server Error: What It Is And How To Fix It for more info.
—
Vishwas R
Team CanvasJS
Can you kindly share working sample along with sample data over Google-Drive or Onedrive, so that we can understand your requirements better and help you out?
—
Vishwas R
Team CanvasJS
You can use Axis / Scale Breaks to shrink and remove the unnecessary regions.
Please take a look at updated JSFiddle.
—
Vishwas R
Team CanvasJS
The code that you have shared in doc file seems to be working fine. Can you kindly share the sample ASP.Net project along with sample data so that we can understand your scenario better and help you out?
—
Vishwas R
Team CanvasJS
Can you kindly create sample project with sample dataPoints and share it over Google-Drive or Onedrive, so that we can look into your code, understand it better and help you out?
—
Vishwas R
Team CanvasJS
Can you kindly create sample project with sample dataPoints and share it over Google-Drive or Onedrive, so that we can look into your code, understand it better and help you out?
—
Vishwas R
Team CanvasJS
One of my colleagues Mr.Indranil had dropped you a mail regarding this on July 20, 2018 itself, kindly check your inbox once. As we didn’t heard back from you, we thought the issue got resolved and it would be working fine now.
Can you kindly share your Skype ID, so that I can arrange a call-back for you? Over call itself you can have a screen-share and resolve the issue you are facing.
You can share the details over mail to sales@canvasjs.com or schedule a meeting by clicking this link.
—
Vishwas R
Team CanvasJS
Please take a look at tutorial on Live Updating Charts from JSON API & AJAX.
If you are still facing issue, kindly create jsfiddle with the issue you are facing and share it with us along with sample JSON so that we can look into your code, understand it better and help you out.
—
Vishwas R
Team CanvasJS
Once the chart is rendered, you can get dataSeries color using get method as shown in the code snippet below –
for(var i = 0; i < chart.data.length; i++) {
console.log(chart.data[i].get("color"))
}
Please take a look at this jsfiddle.
—
Vishwas R
Team CanvasJS
Thank you, but can I send you the link via private email? because I can not share as public in here.
One of team members will get in touch with you soon over email.
I also try this code https://canvasjs.com/jsp-charts/chart-from-csv-data/
But when I try the content of chart does not appear.
And this is the following error: Failed to load https://canvasjs.com/data/gallery/jsp/tuna-production.csv: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://localhost:8080’ is therefore not allowed access.
For security reasons, browsers restrict cross-origin requests. Please refer this stackOverflow post for more information.
—
Vishwas R
Team CanvasJS
Trial Version is for evaluation purposes for up to 30 days. To use charts without ‘Trial Version’ and ‘CanvasJS’ Credit Link you will need to have a Commercial Version of CanvasJS. Please contact sales@canvasjs.com for sales related queries.
—
Vishwas R
Team CanvasJS