Measure axis - limit tick values

后端 未结 3 1695
孤街浪徒
孤街浪徒 2021-01-26 02:17

I have chart looking like that:

\"Chart\"

I use measure axis for Y:

y = myChart.addMeasureAxis(         


        
3条回答
  •  走了就别回头了
    2021-01-26 02:51

    Same results could be reached with just CSS and no JS:

    #your-graph .dimple-axis-x {
      g.tick text {
        opacity: 0;
      }
    
      g.tick:nth-child(10n) text {
        opacity: 1;
      }
    }
    

提交回复
热议问题