Rajendra,
Instead of shifting dps once its length becomes 500, you can just keep shifting y-value keeping x-values constant from 1-500. In this case, x-vlaues remains same and the stripLines stay at same values, just y-values keeps updating/shifting.
—
Vishwas R
It seems data received from database is not parsed properly (not in order/sorted according to x-value) before adding it to chart. Kindly check the data you receive from database.
—
Vishwas R
Can you kindly create jsfiddle with the issue, so that we can look into it and help you out.
—
Vishwas R
Ronald,
It seems like when you run your app in emulator, canvasjs.min.js file is loaded from local/server which makes chart to render without any issue. But in app-store, canvajs.min.js may not be loaded (May the file-path is not proper) which is needed to render the chart. Can you kindly verify this once?
—
Vishwas R
Can you kindly create JSFiddle reproducing the issue you are facing & share it with us, so that we can look into the code, understand the scenario better and help you out?
Please refer to this documentation page for step-to-step tutorial on creating dynamic charts. Also checkout this forum topic related to ECG graph using CanvasJS chart.
—
Vishwas R
We are unable to reproduce the issue at our end in Samsung mobile phone. Can you kindly provide us the following information, so that we can look into it further and help you out?
1. Android Version
2. Browser Name and Version
—
Vishwas R
This is happening as axis is taking space. You can overcome this by setting axis margin to negative value.
—
Vishwas R
Sync Zooming and Panning across Multiple Charts in ‘How To Samples‘ section seems to be working fine.
Please check this jsfiddle for syncing across 3 charts.
Incase, if you are still facing the issue, kindly reproduce the same in jsfiddle, so that we can look into it and help you out.
—
Vishwas R
In multi-series chart, legends are shown to every series when showInLegend is set to true. We checked the same and it seems to be working fine in all versions including latest, v1.9.6.
If you are still facing the issue, can you kindly reproduce the same in jsfiddle, so that we can look into it further and help you out resolving it.
—
Vishwas R
In JavaScript, Date instance is created using new Date()
.
In your case, changing $x_axis = date(‘D M d Y H:i:s O’, strtotime($csv[$i][0]));
to $x_axis = new Date(‘D M d Y H:i:s O’, strtotime($csv[$i][0]));
should work fine.
—
Vishwas R
@Vlatka,
As per the code snippet shared above, we can observe that there are a lot of labels with bigger texts because of which some of the axis labels are skipped to avoid overlapping. This can be customized to show all the labels by setting axisX interval property as 1. Code snippet below shows how you can do the same:
axisX: {
interval: 1
}
Please take a look at this JSFiddle for a working example with sample code.
—
Vishwas R
Team CanvasJS
We don’t have asp.net webforms samples yet. You can refer to this tutorial on retrieving data from database in C#, convert the retrieved data to the format that’s accepted by CanvasJS and render chart.
—
Vishwas R