GithubHelp home page GithubHelp logo

Synchronization of connector values editing between components does not work correctly for connectors with modifier. about highcharts HOT 2 OPEN

vazonik avatar vazonik commented on June 24, 2024
Synchronization of connector values editing between components does not work correctly for connectors with modifier.

from highcharts.

Comments (2)

jomar-honsi avatar jomar-honsi commented on June 24, 2024

The problem seems to be in the RangeModifier, function modifyTable(). Modifying an already modified table doesn't work as expected, because the row indexes of the original and the modified table are inconsistent.

When expanding the range to cover all points, the behaviour with points disappearing from the chart is not observed, but changes to table cells do not stick (this may be unrelated):

  1. Change 'Lamb liver' iron to e.g. 5.
  2. Click on any another cell.
  3. Click on the original cell and observe that the value reverts to the original (6.5).

from highcharts.

jomar-honsi avatar jomar-honsi commented on June 24, 2024

Proposed solution.

Add an option to DataTable for creating a "virtual" (invisible) column that contains the rowIds.

This allows re-use of the existing DataTable logic and we can get away with few little changes to the code. The rowId's are accessible by referencing the "virtual" columns (must have a unique name).

from highcharts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.