Home forums Chart Support Plot Area does not cover 100% of the canvas element

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #15435

    Has there been any progress on this front? I’m facing an issue identical to this with a line chart. Because the plot area does not cover the entire area of the canvas element with class canvasjs-chart-canvas, the last two data points in a data set of 1000 are not hoverable/visible. This is compromising our product’s precision. Since I have access to the source code, can you guys atleast guide me on where to set the plot area to a 100% of the canvas element?


    Is there more information required from my side?



    You can set maximum and minimum for axisX to allocate some extra space at the beginning and ending of the chart plotArea. This will solve your problem of not being able to hover. Please take a look at this jsFiddle.
    However, if you want to expand the chart plotArea to 100% of the canvas, you can take a look at this work-around without editing the source file.
    If this doesn’t solve our problem, please let us know and we’ll assist you further for it.

    Bivek Singh,
    Team CanvasJS

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

You must be logged in to reply to this topic.