You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, changing colors in settings only works for charts created after that. It will be really cool if the plugin supports a way to have "global" color settings, so new colors are applied to all charts in the vault.
Any related problems?
No response
Additional context?
No response
The text was updated successfully, but these errors were encountered:
The colors are applied every time the HTML for a plot is rerendered. AFAIK this also happens when you reopen obsidian. I haven't found a better way to rerender all plots, although you are welcome to add one if you find it.
Well, I didn't notice that reopening obsidian causes colors to be updated! So, the functionality is already there; we just need to find a way to force re-render plots after saving the settings (I don't know how Obsidian handles this), or at least change the save message a little bit and tell users to "re-open obsidian to apply changes".
Obsidian renders the code block via the handler function the plugin provided, and then spits out the html into a prepared div. I can't imagine the result is persistent between sessions so it would have to rerender the code block. Changing the message would be the only possible solution I could think of...
What's your feature?
Currently, changing colors in settings only works for charts created after that. It will be really cool if the plugin supports a way to have "global" color settings, so new colors are applied to all charts in the vault.
Any related problems?
No response
Additional context?
No response
The text was updated successfully, but these errors were encountered: