2017-03-02 64 views
0

將區域系列與列系列組合時,區域不再像當沒有列系列時那樣將圖表完全填充到每個軸。Kendo UI Chart Angular 2合併區域和列系列防止區域填充圖表

地區唯一系列:

<kendo-chart> 
    <kendo-chart-series> 
    <kendo-chart-series-item type="area" [data]="[1, 2, 3, 5]"> 
    </kendo-chart-series-item> 
    <kendo-chart-series-item type="area" [data]="[-1, -2, -3, -5]"> 
    </kendo-chart-series-item> 
    </kendo-chart-series> 
</kendo-chart> 

http://plnkr.co/edit/ltm514QzjhEYXrrEGCgD?p=preview

區和列系列:

<kendo-chart> 
    <kendo-chart-series> 
    <kendo-chart-series-item type="area" [data]="[1, 2, 3, 5]"> 
    </kendo-chart-series-item> 
    <kendo-chart-series-item type="area" [data]="[-1, -2, -3, -5]"> 
    </kendo-chart-series-item> 
    <kendo-chart-series-item type="column" [data]="[-1, -2, -3, -5]"> 
    </kendo-chart-series-item> 
    </kendo-chart-series> 
</kendo-chart> 

http://plnkr.co/edit/FrIyen5w8ywF34rt6DST?p=preview

是否有任何允許區域系列擴展到每個軸的配置(即填寫整個圖表)列系列存在時?

回答