Skip to content

[Bug]: Chart in Expanded View drops data binding and reverts to original sample data #1965

@gawright63

Description

@gawright63

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When I place a chart in an expanded view, the data binding initially works while I'm configuring the chart. When I leave configuring the expanded view and expand another row, the original sample data is shown rather than the data binding I configured. If I refresh the app or preview it and then go back to configuring the expand view, my data binding is gone. This happens on multiple chart types, at least, probably all but I haven't checked each one. Two that I have checked are line chart and pie chart.

Expected Behavior

Configured data binding stays configured.

Steps to reproduce

  1. Create a table with rows containing data suitable for a chart specific to that row (i.e., an array with at least a series key and a value).
  2. Configure the expanded view and add a chart (i.e., line chart).
  3. Configure chart's data binding to use the array data from the current row.
  4. Observe that the expanded view of the first row shows the correct chart.
  5. Observe that the expanded view of other rows show the chart of the sample data and not the configured data binding.
  6. Preview the app and observe that none of the rows show the correct data binding but the sample data binding instead.
  7. Return to editing the app and observe that the data binding of the chart has reverted to the default sample data.

Environment

Docker hosted on Windows 11. Lowcoder 2.7.3.

Additional Information

No response

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