Skip to content

Selecting frame bug in charts #1193

Closed
Closed
@ehynd

Description

@ehynd

A clear and concise description of what the issue is.

In the data tab for a chart, I select a frame and then the available columns show up in dimensions. If I want to select a different frame, I should be able to just select a different one from the dropdown and the second frame's columns will pop up in dimensions

How to reproduce the issue

  1. Create two dataframes in a notebook
  2. Drag in a bar chart
  3. Select one frame in the data tab of bar chart, see available columns in dimensions
  4. Select the second, different frame in the dropdown
  5. Columns will persist from the first data frame in dimensions

Expected results

When I switch frames, the selected frame's columns will appear

Actual results

The first selected frame's columns always persist in dimensions

Additional context

This seems to be an issue across the charts and not unique to one particular one.

Activity

added theissue type on May 20, 2025
bannaarisamy-shanmugham-kanini

bannaarisamy-shanmugham-kanini commented on May 27, 2025

@bannaarisamy-shanmugham-kanini
Contributor

@ehynd , I have added fixes for the Frame name changes issue. I am checking for further issues in it.
Please verify the same in 1193-selecting-frame-bug-in-charts.

bannaarisamy-shanmugham-kanini

bannaarisamy-shanmugham-kanini commented on May 29, 2025

@bannaarisamy-shanmugham-kanini
Contributor

@ehynd , I am now working on resetting field changes for all charts during frame change. I will keep my status updated.

bannaarisamy-shanmugham-kanini

bannaarisamy-shanmugham-kanini commented on May 30, 2025

@bannaarisamy-shanmugham-kanini
Contributor

@ehynd, Following is my update:
Working scenario:
1.Frame changing in the Selected frame, results in correctly updating the columns for the frame
Not working Scenario:
1.While changing from one frame to another, and then selecting the dimensions for the columns then if I switch to tools/json tab and then come back to data tab, I find few columns are not properly retaining.

bannaarisamy-shanmugham-kanini

bannaarisamy-shanmugham-kanini commented on Jun 3, 2025

@bannaarisamy-shanmugham-kanini
Contributor

@ehynd,
Following is the current status:
1.Frame changing in the Selected frame, results in correctly updating the columns for the frame - working.
2.While changing from one frame to another, and then selecting the dimensions for the columns then if I switch to tools/json tab and then come back to data tab, I find few columns are not properly retaining. - Fixed and working for single chart in page.
3.While switching between chart's blocks, in the data page fixing columns retaining based on the chart's recent selection - Work in progress.
4.Worked on Gantt chart, with the data page drag and drop changes(earlier it was not working correctly with drag and drop ui).

bannaarisamy-shanmugham-kanini

bannaarisamy-shanmugham-kanini commented on Jun 3, 2025

@bannaarisamy-shanmugham-kanini
Contributor

@ehynd,
Following is the current status:
1.Frame changing in the Selected frame, results in correctly updating the columns for the frame - working.
2.While changing from one frame to another, and then selecting the dimensions for the columns then if I switch to tools/json tab and then come back to data tab, I find few columns are not properly retaining. - Fixed and working for single chart in page.
3.While switching between chart's blocks, in the data page fixing columns retaining based on the chart's recent selection - Fixed and working.
4.Worked on Gantt chart, with the data page drag and drop changes(earlier it was not working correctly with drag and drop ui) - Fixed and working.

bannaarisamy-shanmugham-kanini

bannaarisamy-shanmugham-kanini commented on Jun 5, 2025

@bannaarisamy-shanmugham-kanini
Contributor

Hi @ehynd ,
Following are some screenshots on the fixes:
In the gantt chart(which is selected) in the following images,
On first frame selection FRAME_21983:
Image

On frame changed to FRAME_82179:
Image

After selecting to second frame(FRAME_82179), I selected needed columns and chart is rendering based on input selected.

added a commit that references this issue on Jun 25, 2025

#813 conflicts resolved with #1193 changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    Participants

    @bannaarisamy-shanmugham-kanini@ehynd

    Issue actions

      Selecting frame bug in charts · Issue #1193 · SEMOSS/semoss-ui