Hello,
I have set up tabbed navigation to analyse a few server performance metrics. Each tab displays a graph for a specific metric. I am encountering a display issue with the CanvasJS library.
The graph in the default tab appears correctly with the correct size (width 100%, height 280px) as programmed in the HTML code.
When I select a tab, the new graph replaces the previous one and displays it with a wrong size : width of 500px and height of 400px ? That’s not what I coded ?
When I span over an area of the graph, it is then displayed with a width of 100% and a height of 280px with the area zoomed in. If I refresh the graph, I get the correct size of width 100% and height 280px as programmed.
I don’t understand how it works.
Thank you for your help and happy new year…
Laurent