Home forums Using CanvasJS Plot Area does not cover 100% of the canvas element Reply To: Plot Area does not cover 100% of the canvas element

#15448

Bivek Singh
Moderator

@prathamesh,

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