Highcharts Tooltip cropping

后端 未结 1 707
甜味超标
甜味超标 2020-11-28 16:04

I am using high charts but am experiencing an issue with larger tooltip cropping off at the outer elements of the SVG, as per the image below.

相关标签:
1条回答
  • 2020-11-28 17:04

    I'm pretty sure, that similar topic exists on stack, however I can't find it. In general it is possible to achieve that using HTML tooltip, see: http://jsfiddle.net/7wVDV/147/

    CSS:

    .highcharts-container {
      overflow: visible !important;
    }
    .MyChartTooltip {
      position: relative;
      z-index: 50;
      border: 2px solid rgb(0, 108, 169);
      border-radius: 5px;
      background-color: #ffffff;
      padding: 5px;
      font-size: 9pt;
    }
    
    0 讨论(0)
提交回复
热议问题