Skip to content
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

[Feature]: Changing pie chart color #35737

Open
1 task done
hubearmy opened this issue Aug 19, 2024 · 7 comments
Open
1 task done

[Feature]: Changing pie chart color #35737

hubearmy opened this issue Aug 19, 2024 · 7 comments
Assignees
Labels
Chart Widget Enhancement New feature or request Inviting Contribution Issues that we would like contributions to Widgets & Accelerators Pod Issues related to widgets & Accelerators Widgets Product This label groups issues related to widgets

Comments

@hubearmy
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Summary

When the data is connected from api, you aren't allowed to alter the color for the pie graph.

Why should this be worked on?

It is important to change the color for the graph since color is a critical factor for user experience

@hubearmy hubearmy added the Enhancement New feature or request label Aug 19, 2024
@Nikhil-Nandagopal Nikhil-Nandagopal changed the title [Feature]: Changing pie graph color when the data is from api [Feature]: Changing pie chart color Aug 19, 2024
@github-actions github-actions bot added Widgets Product This label groups issues related to widgets Widgets & Accelerators Pod Issues related to widgets & Accelerators labels Aug 19, 2024
@Nikhil-Nandagopal Nikhil-Nandagopal added the Inviting Contribution Issues that we would like contributions to label Aug 19, 2024
@daaliachhak17
Copy link

ticket created in Jira-https://zemoso.atlassian.net/browse/TNOSB-530

@raushan3737
Copy link
Contributor

Hi @hubearmy , i was trying to alter the chart color i am getting the option to alter chart color except pie chart.
Currently i am loading data from statically, Can you please indicate which segment of chart should have the custom color for the below graph?
image

@hubearmy
Copy link
Author

hubearmy commented Aug 21, 2024 via email

@raushan3737
Copy link
Contributor

Hi @hubearmy , If we want to alter the color of each section of pie chart we need to take n input as each section will contain unique color. Please give your suggestion on it.

In case of other chart, we are applying one color only:
image

@hubearmy
Copy link
Author

hubearmy commented Aug 21, 2024 via email

@raushan3737
Copy link
Contributor

Hi @hubearmy , Attached pic is not visible for me. Can you please provide the pic again. Like how you are connecting to api.

Points to consider:
If we want to add the option to alter the color then, we have to take n input for the color for each section of pie chart so that it will contain unique color to represent various segment of the data.

Any thoughts on it.

@Sai6347
Copy link

Sai6347 commented Oct 3, 2024

Hi @hubearmy, can you please provide how you are connecting to API?

If we add data statically unique colors are coming on the pie chart automatically. For the other graphs we have an option to change the colors manually.
image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Chart Widget Enhancement New feature or request Inviting Contribution Issues that we would like contributions to Widgets & Accelerators Pod Issues related to widgets & Accelerators Widgets Product This label groups issues related to widgets
Projects
None yet
Development

No branches or pull requests

8 participants