EQWorks / widget-studio

Widget-creating tool for charts, maps, tables, stats
https://eqworks.github.io/widget-studio/
2 stars 3 forks source link

[G2M] Chart - add axis title controls #183

Closed geoerika closed 1 year ago

geoerika commented 1 year ago

Closes #182

Changes:

RightSidePanel

  1. Added separate switches to show/hide axis titles
  2. Added separate controls to add custom axis titles
  3. Re-arranged & cleaned up controls for some widgets in the RightSidePanel to fit the new added controls

Screen Shot 2022-10-12 at 3 08 26 PM

Recording of how to setup axis titles:

https://user-images.githubusercontent.com/41120953/195427705-f0bb97ee-dc73-4ead-9f2d-e63b46c34ddf.mov

Test Story

github-actions[bot] commented 1 year ago

📚 Storybook preview (updated to 7fc2f7e95aa781b47a22edcfe8b6763d0f19dc30)

geoerika commented 1 year ago

Looks very nice. Only suggestion is perhaps we disable and show text field as N/A if the toggle is off? Similar to how the title toggle works. Screenshot 2022-10-12 153054

Oh, that's a good remark! Thanks!