Android simulator: Annotation fails on DateTimeContinuousAxis

Thread is closed for posting
2 posts, 0 answers
  1. Giorgio
    Giorgio avatar
    24 posts
    Member since:
    Jun 2017

    Posted 01 Jul 2017 Link to this post

    Hi, I' get a Chart with DateTimeContinuousAxis that show well on iOS simulator but fails on Android emulator as you can see on the atteched pictures.

    The error message says:

    "The value 1.4946336E12 provided for the annotation is incompatible with the selected axis"


    <RadCartesianChart row="1" tkExampleTitle tkToggleNavButton>
    <LinearAxis tkCartesianVerticalAxis></LinearAxis>
    <DateTimeContinuousAxis tkCartesianHorizontalAxis id="hAxis"
    minimum="01/05/2017" maximum="31/05/2017" majorStep="Day"
    dateFormat="dd" labelFitMode="Rotate"
    <LineSeries tkCartesianSeries [items]="categoricalSource"
    <ChartGridLineAnnotation tkCartesianAnnotations axisId="hAxis" hidden="false"
    zPosition="BelowSeries" strokeWidth="4" value="1494633600000"

  2. Nikolay Iliev
    Nikolay Iliev avatar
    351 posts

    Posted 03 Jul 2017 Link to this post

    Hello Giorgio,

    We noticed that you have logged this issue in your last post in this thread and our developers have logged this as a bug and already planned the fix in their TODO list as discussed here.

    quote from the forum post reply:
        I have investigated the case and have found the reason for the issue you are facing: there is a small bug in the way GridLineAnnotation interacts with the DateTimeContinuousAxis on Android. We are going to log this issue in our TODO system and fix it immediately for you. You will be able to access the fix using the @next tag of the plugin on I will make sure to notify you as soon as the fix is ready (will be a matter of a day or two).

    We will update the information as soon as we have a stable solution to this issue and we will ping you so you could test your project with the next version of the upcoming release.

    Nikolay Iliev
    Progress Telerik
    Did you know that you can open private support tickets which are reviewed and answered within 24h by the same team who built the components? This is available in our UI for NativeScript Pro + Support offering.
Back to Top