imaNNeo / imaNNeo/fl_chart

onClick change BarChartRodStackItem width

Open
#683 1 comment 0 reactions 0 assignees View on GitHub
Bar Chart enhancement
Dominant language
Dart
Stars
7.6k
Forks
2k
Avg merge
9d 1h
Merged PRs (30d)
2

Description

I want to change the `width` of a single `BarChartRodStackItem` when it is clicked. Initially, `BarChartRodStackItem` width is set by the `BarChartRodData` width. Changing the `BarChartRodData` width will change all of it's item width but I want to change the width of `BarChartRodStackItem` which is clicked. How do I achieve this?

Contributor guide

Open the contributing guide

Research direction

Start by locating the BarChartRodStackItem and BarChartRodData definitions and tracing how a clicked item is represented in the Flutter bar chart. Reproduce the requested interaction in a small chart example; the work is done when one clicked stack item can have an independently changed width without changing the widths of its siblings.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
data-visualization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.