Skip to content

Cant use custom colors in Chart widget #1109

@GiovanniBaldo

Description

@GiovanniBaldo

Has your issue been reported?

  • I have searched the existing issues and confirm it has not been reported.
  • I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.

Current Behavior

When I try to change colors in Charts (for example pie chart colors property), if I set it to a custom color or theme color, the result is that a transparent color is set, instead of the one that I've choosen.
Only recent colors are accepted. manually setting rgb code works too.

Expected Behavior

It should accept them and custom colors

Steps to Reproduce

create a new page
add a container or column.
add a chart widget, change it to pie chart, try to change 1st color using theme or custom color. it will be set to transparent

Reproducible from Blank

  • The steps to reproduce above start from a blank project.

Bug Report Code (Required)

ITEekfHluIt1pb0C18/caO5KiQMwJ0QlUIInj+0bWRMhfYznP6QcYuPBahFLYteFSnxEH2f+mTgewvzUj+LiU8YnEwWuQJR/yq5XQRXJWl6tMa3QPZGRPEElHZ5MBX6H55iskR1TD7N1LHwO3U2MAvCdG3qCf9qOYwx5e6fDbOY=

Context

Im just updating colors in my app to use theme / custom colors and not rgb codes

Visual documentation

image

Additional Info

No response

Environment

- FlutterFlow version: v1.1.88
- Platform: macos desktop
- Browser name and version: Im using macos app
- Operating system and version affected: maxos ventura 13.4.1 (22F82)

Metadata

Metadata

Labels

status: confirmedIssue has been reproduced and confirmed as a bug.type: bugSomething isn't working.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions