reflex icon indicating copy to clipboard operation
reflex copied to clipboard

add toggleColorMode support for Victory charts

Open Lendemor opened this issue 2 years ago β€’ 2 comments

Describe the bug When using a pc.chart, if you use the toggleColorMode() method to switch to dark mode, the lines and labels of the charts do not change color.

To Reproduce Add a button to toggle color mode and any chart.

Expected behavior Chart labels can be used in DarkMode

Screenshots

Labels did not change colors when toggling dark mode: image

** Specifics (please complete the following information):**

  • Python Version: 3.8.10
  • Pynecone Version: 0.1.14
  • OS: Ubuntu 20.04

Lendemor avatar Jan 31 '23 15:01 Lendemor

Yeah dark/light toggling only works with chakra because its a chakra feature we can work on trying to integrate this with the other libs pynecone wraps

Alek99 avatar Feb 01 '23 05:02 Alek99

Marking as enhancement because its expected behaviors as of now

Alek99 avatar Feb 01 '23 05:02 Alek99

For recharts the toggle color seems to work

Lendemor avatar Mar 26 '24 11:03 Lendemor