ngx-charts how to set the y-axis ticks width

时间:2018-08-21 04:35:08

标签: ngx-charts

I'm currently using the ngx-charts library to display some data.

One UX problem I found is, due to the length of the y-axis ticks change(f.e 1000 and 100000), the chart will flick before the redraw.

I'm wondering if there is a way to set the width of the ticks?

I've tried to add space to the ticks ( ), but it will display as  1000on the chart.

Anyone knows how to solve it?

UPDATE: Click on the change button to see the flickering on y-axis.

https://stackblitz.com/edit/ngx-charts-flickering-problem?embed=1&file=app/app.component.ts

中的onclick()从另一个脚本更改变量

0 个答案:

没有答案