-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migration issues #99
Comments
Hey @Webierta. I'm not really sure what is the issue. Can you show me in screen shoot? I tried making chart with code you provided but I really don't see what would be the issue. I don't see the data point if you set color to transparent. |
Okay I understand the issue now. Are you maybe using multiple Charts in Stack? I cannot reproduce it. Can you provide standalone Chart code where this is reproducable? I'm using this to try and reproduce this: Chart<void>(
state: ChartState(
data: ChartData.fromList([
ChartItem(2),
ChartItem(5),
ChartItem(8),
ChartItem(3),
ChartItem(6),
]),
backgroundDecorations: [
GridDecoration(),
],
foregroundDecorations: [
SparkLineDecoration(),
],
itemOptions: BubbleItemOptions(
maxBarWidth: 20,
bubbleItemBuilder: (data) {
if (data.itemIndex == 3) {
return const BubbleItem(color: Colors.red);
}
return const BubbleItem(color: Colors.transparent);
},
),
),
) |
|
Hello, can you help me migrate this code to the new version.
This doesn't work because it draws the bubble at the bottom:
Thank you
The text was updated successfully, but these errors were encountered: