The kendo chart is not displaying numbers correctly.

2 posts, 0 answers
  1. Jason
    Jason avatar
    1 posts
    Member since:
    Jun 2016

    Posted 14 Oct 2016 Link to this post

    Here is the markup:
    <div kendo-chart='chart1' k-data-source="WidgetDatasource3" k-title="{ text: 'Comments per day', visible: true, align:'left' }" k-legend="{visible:true}" k-series-defaults="{type: 'bar', labels: {visible: true, background: 'transparent'}}" k-category-axis="{ field: 'sales', name: 'Sales', type: 'number'}"  k-series="[{field: 'sales', name: 'Sales', dataType:'number'}]" ></div>

    Here is the datasource:

    widget3.WidgetData.Resultset = "[{ sales: 200},{ sales:450}]";

    The output is attached.  Any number over 9 is being broken up.  i.e. 19 ==> 1   9

    Please advise.
  2. Stanimir
    Stanimir avatar
    1654 posts

    Posted 18 Oct 2016 Link to this post


    I used the provided code to create the following dojo example: Is this the expected result as it is different from the provided in your post image?

    In addition review the API documentation regarding categoryAxis.type property: The supported values are only "category" and "date". Also I am not finding series.dataType in the API reference.

    I removed the mentioned two property configurations and the behavior of the control is the same:

    Telerik by Progress
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top