0
如何格式化图表中的类别轴?格式图表组件中的日期类别轴
我发现this help file,但我不能用我的源代码连接:
<kendo-chart [categoryAxis]="{ categories: graphsCategories }">
<kendo-chart-legend position="bottom" orientation="horizontal"></kendo-chart-legend>
<kendo-chart-series>
<kendo-chart-series-item *ngFor="let item of graphsSeries" type="line"
[data]="item.timers"
[name]="item.name">
</kendo-chart-series-item>
</kendo-chart-series>
</kendo-chart>
这是行不通的。你确定这应该进入该系列?我有多个系列,但都具有相同的分类轴。那么不应该有一些全球性的设置? – Makla
是的,我有我的代码。我使用“dd/MM”格式,但是“EEEE”应该根据日期显示星期几 – mast3rd3mon