You must be logged in to post your query.
Home › Forums › Chart Support › Spline Chart for ECG record – Remove white padding
Tagged: ecg spline padding
We’re using CanvasJS version 3.4.13. We are using Spline Chart to Generate ECG chart from input. As the data of ECG are so long and we need to print the chart in an A4 size paper, what we are doing is to devide the chart into parts and generate separate charts for it (please see attached ). Now we have two questions,
1) Is it possible to have single chart as shown in ? If yes then can you give any example?
2) If single chart is not possible, then can we remove the white paddings between charts in ? It seems that the padding is there in side <canvas> element which is automatically generated from your library. If we can remove it then also we can fulfil our requirement to have single chart as and end user perspective. If it is possible then can you give any example?
Setting negative margin to x-axis will reduce the gap towards the bottom of the chart. However, as we are not sure about the entire chart options that being passed, we suggest you to create a JSFiddle with your scenario and share it with us so that we can understand it better and suggest you accordingly.
You must be logged in to reply to this topic. Login/Register