RomRider / apexcharts-card

📈 A Lovelace card to display advanced graphs and charts based on ApexChartsJS for Home Assistant
MIT License
1.15k stars 78 forks source link

Pie chart with data_generator? #554

Closed tanker11 closed 1 year ago

tanker11 commented 1 year ago

As I can see from the doc, data_generator option should return a [timestamp,value] array. But if I would like to have a pie or donut chart, the timestamp would rather be a 'name' instead of 'timestamp'. Is it possible to generate data for pie chart?

In other words: if I have an array of [name,value] pairs in an entity, how could I create a pie chart from it?

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days.

github-actions[bot] commented 1 year ago

This issue was closed because it has been stalled for 10 days with no activity.