In IOS chart is not working

2 posts, 0 answers
  1. suralal
    suralal avatar
    15 posts
    Member since:
    Mar 2016

    Posted 08 Jul Link to this post

    CONSOLE ERROR file:///app/tns_modules/trace/trace.js:160:30: Binding: Binding error while setting property items of BarSeries: ReferenceError: Can't find variable: TKChartSeriesSelection

     

    but same chart working in android?

  2. Nikolay Iliev
    Admin
    Nikolay Iliev avatar
    92 posts

    Posted 11 Jul Link to this post

    Hi Suralal,

    Have you updated your plugin (nativescript-telerik-ui-pro) to the latest version 1.2.0.
    Look at your project's package.json  and ,ale sure you are using the latest version.
    You can install the latest version with
    tns plugin remove nativescript-telerik-ui-pro

    tns plugin add nativescript-telerik-ui-pro

    You can change your package.json so the min plugn version to install to be 1.2.0
    {
      "nativescript": {
        "id": "org.nativescript.bossapp",
        "tns-android": {
          "version": "2.1.1"
        },
        "tns-ios": {
          "version": "2.1.1"
        }
      },
      "dependencies": {
        "nativescript-drop-down": "^1.2.5",
        "nativescript-slides": "^1.7.0",
        "nativescript-telerik-ui-pro": "^1.2.0",
        "tns-core-modules": "2.1.0"
      },
      "devDependencies": {
        "babel-traverse": "6.10.4",
        "babel-types": "6.11.1",
        "babylon": "6.8.4",
        "lazy": "1.0.11"
      }
    }

    Then delete folders platforms and node_modules and rebuild your app to install the latest versions.
    If this solution does not help please do not hesitate to send us the sample app that is causing this error.

    Regards,
    Nikolay Iliev
    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