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

[echarts] Initialize echarts with built in dark/light theme matching LogSeq system settings #51

Open
swarminglogic opened this issue Aug 9, 2024 · 0 comments

Comments

@swarminglogic
Copy link
Contributor

To my knowledge, echarts doesn't have a way to set/chose a predefined theme, except at init, with something like

var chart = echarts.init(dom, 'dark');

This makes renders difficult to read, without overriding individual colors (which is both verbose and tedious). The example here #19

image

Might instead look like:
image

I imagine the change would be something akin to #18

But in

const myChart = echarts.init(elRef.current)

Lastly,
Thanks for a great plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant