1 thought on “Tooltip in line chart get buged when is rotated the graph

  1. It’s not a Chart.js’ bug.
    CSS transform has a specific point to rotate its objects, and its dimensions does not impact other elements.

    You can try something like:

    #myChart {
    padding: 50px;
    position: absolute;
    -ms-transform: rotate(270deg); /* IE 9 /
    -ms-transform-origin: 60%% 65%%; /
    IE 9 */
    transform: rotate(270deg);
    transform-origin: 60%% 65%%;
    }

    and adapt it to your necessities.

Comments are closed.