LearnNewsExamplesServices
Frontmatter
id724
titlecomponent.wrapper.AmChart: data_ config
stateClosed
labels
enhancement
assigneestobiu
createdAtJun 14, 2020, 6:22 PM
updatedAtJun 14, 2020, 7:22 PM
githubUrlhttps://github.com/neomjs/neo/issues/724
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJun 14, 2020, 7:22 PM

component.wrapper.AmChart: data_ config

tobiu
tobiu commented on Jun 14, 2020, 6:22 PM

right now, Covid.view.TableContainerController is calling:

        Neo.main.addon.AmCharts.updateData({
            data    : dataArray,
            dataPath: chart.dataPath,
            id      : chart.id
        });

instead, it should just change the data config on the wrapper component.

cleaner, plus allows us to automatically apply the last data when moving charts into different windows.

tobiu added the enhancement label on Jun 14, 2020, 6:22 PM
tobiu assigned to @tobiu on Jun 14, 2020, 6:22 PM
tobiu referenced in commit 0c3c1ce - "component.wrapper.AmChart: data_ config #724" on Jun 14, 2020, 7:21 PM
tobiu closed this issue on Jun 14, 2020, 7:22 PM