Highchart SolidGauge 正在进行弧形剪切,但窗格正确显示

问题描述 投票:0回答:0

这主要发生在 startAngle > 90 和 endAngle 时 < 270 (this makes arc in bottom) and difference of angle is around 50 (It like quarter arc having start and end angle in bottom). This can be fixed If I reduce Y direction from top value. I want to know why this is happening at first place. Only arc is cropping but Pane is coming correctly.

pane: {
        startAngle: +this.gaugeSetting.minAngle,
        endAngle: +this.gaugeSetting.maxAngle,
        center: [`${this.gaugeSetting.centerX}%`,`${this.gaugeSetting.centerY}%`],
        background: this.gaugeSetting.show ? paneData : [],
        // size: this.gaugeSetting.shapeType === "CUSTOM" ? this.gaugeSetting.customChartSize+"%" : this.gaugeSetting.chartSize,
        size:'100%'
      },
highcharts visualization gauge react-highcharts solid
© www.soinside.com 2019 - 2024. All rights reserved.