Skip to content
This repository was archived by the owner on May 3, 2023. It is now read-only.
This repository was archived by the owner on May 3, 2023. It is now read-only.

plot.options.series: {animation: false} and chart.animation: false have no effect #12

@cjohn001

Description

@cjohn001

Which platform(s) does your issue occur on?

  • only tested on iOS
  • iOS versions 14, 11.2
  • emulator

Please, provide the following version numbers that your issue occurs with:

  • CLI: 7.0.11
    "dependencies": {
    "@angular/animations": "~10.1.6",
    "@angular/common": "~10.1.6",
    "@angular/compiler": "~10.1.6",
    "@angular/core": "~10.1.6",
    "@angular/forms": "~10.1.6",
    "@angular/platform-browser": "~10.1.6",
    "@angular/platform-browser-dynamic": "~10.1.6",
    "@angular/router": "~10.1.6",
    "@nativescript/angular": "~10.1.7",
    "@nativescript/core": "~7.0.11",
    "@nativescript/firebase": "~11.0.0",
    "@nativescript/iqkeyboardmanager": "~2.0.0",
    "@nativescript/localize": "~5.0.2",
    "@nativescript/secure-storage": "^3.0.0",
    "@nativescript/theme": "~3.0.0",
    "@nativescript/ui-charts": "0.0.5",
    "apollo-angular-link-http": "^1.11.0",
    "apollo-cache-inmemory": "~1.6.6",
    "apollo-cache-persist": "~0.1.1",
    "apollo-link": "~1.2.14",
    "apollo-link-batch-http": "~1.2.14",
    "apollo-link-context": "~1.0.20",
    "apollo-link-error": "~1.1.13",
    "apollo-link-logger": "~1.2.3",
    "d3-ease": "^2.0.0",
    "graphql": "^15.3.0",
    "graphql-tag": "^2.11.0",
    "intl": "^1.2.5",
    "moment": "^2.29.1",
    "nativescript-oauth2-ext": "file:../mnd-custom-plugins/nativescript-oauth2-ext/publish/package/nativescript-oauth2-ext-3.0.0.tgz",
    "nativescript-sqlite": "^2.6.4",
    "nativescript-ui-autocomplete": "^7.0.2",
    "nativescript-ui-calendar": "^7.0.2",
    "nativescript-ui-chart": "^8.0.2",
    "nativescript-ui-gauge": "~7.0.2",
    "nativescript-ui-listview": "^9.0.2",
    "offix-angular": "^0.0.4",
    "offix-client": "^0.15.5",
    "reflect-metadata": "~0.1.13",
    "rxjs": "^6.5.5",
    "tslib": "1.10.0",
    "uuid": "^8.3.1",
    "zone.js": "~0.10.2"
    },
    "devDependencies": {
    "@angular/cli": "~10.1.7",
    "@angular/compiler-cli": "~10.1.6",
    "@graphql-codegen/cli": "^1.17.8",
    "@graphql-codegen/fragment-matcher": "^1.17.8",
    "@graphql-codegen/introspection": "^1.17.8",
    "@graphql-codegen/typescript": "^1.17.9",
    "@graphql-codegen/typescript-apollo-angular": "^1.17.7",
    "@graphql-codegen/typescript-operations": "^1.17.8",
    "@nativescript/android": "~7.0.0",
    "@nativescript/types": "~7.0.4",
    "@nativescript/webpack": "~3.0.7",
    "@ngtools/webpack": "~10.1.3",
    "@types/d3-ease": "^1.0.9",
    "@types/intl": "^1.2.0",
    "@types/node": "^13.13.19",
    "@types/uuid": "^7.0.4",
    "codelyzer": "^6.0.1",
    "keycloak-request-token": "^0.1.0",
    "node-sass": "^4.14.1",
    "tns-ios": "6.5.3",
    "ts-node": "^8.10.2",
    "tslint": "^6.1.3",
    "typescript": "~3.9.2"
    },

Please, tell us how to recreate the issue in as much detail as possible.

I have a master page with a chart and a detail page. When I navigate from master page to detail the navigation history is kept alive. When I go back from detail page to chart page, I would expect that the animation of the chart does not get activated if chart.animation : false

see https://api.highcharts.com/highcharts/chart.animation

I checked that my chart item is neither recreated nor that its data are refreshed in any way. Hence, I consider this as a bug.

I suspected, that the chart might be internally recreated in the plugin, and therefore tried to set plotOptions.series.animation to false to disable an initial animation. However, this flag does also seem to have no effect. So actually I assumed to see two different bugs here.

see, https://api.highcharts.com/highcharts/plotOptions.series.animation

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions