ngx-echarts
ngx-echarts copied to clipboard
how to precise unit of xaxis ?
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
Please refer to echarts documents for your need: http://echarts.baidu.com/option.html#xAxis
ngx-echarts
doesn't provide the extra property.