ngx-echarts icon indicating copy to clipboard operation
ngx-echarts copied to clipboard

how to precise unit of xaxis ?

Open chaymag opened this issue 5 years ago • 1 comments

I have a simple chart diplaying data, the xAxis values type is Date, the xAxis type is "category" , I retrieve my data using an API, my data shows correctly , but i'd like to specify a unit depending on the picked date range. Is there a unit property in ngx-echarts?

chaymag avatar Nov 13 '18 10:11 chaymag

@chaymag Please refer to echarts documents for your need: http://echarts.baidu.com/option.html#xAxis ngx-echarts doesn't provide the extra property.

xieziyu avatar Nov 14 '18 01:11 xieziyu