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
Thank you for building this project. I'm new here and am experimenting with the finos perspective framework within panel. I find that it is not possible to apply columns configuration when the perspective viewer is loaded. e.g. from the perspective config.json, where I'd like to add certain gradient and coloring to certain columns.
plugin_config={'columns': {'X': {'gradient': 0.7836544570728833, 'neg_color': '#f07160', 'number_color_mode': 'gradient', 'pos_color': '#7dc3f0'}, 'Y': {'gradient': 8448, 'neg_color': '#ff9485', 'number_color_mode': 'gradient', 'pos_color': '#607785'}}}
Ideally the plugin config should be exposed as a param so one could set it while rendering the panel for the first time. Please let me know what you think, or if its already possible to do something like this with the current state of the Perspective API I would appreciate it if you could share some pointers.
Many Thanks
JJ
The text was updated successfully, but these errors were encountered:
Thanks for adding this as a requirement, much appreciated. If you are planning on exposing parts of the plugin config separately (e.g. selectable/editable etc.) I would recommend adding number formatting also to the mix. e.g.
Hello,
Thank you for building this project. I'm new here and am experimenting with the finos perspective framework within panel. I find that it is not possible to apply columns configuration when the perspective viewer is loaded. e.g. from the perspective config.json, where I'd like to add certain gradient and coloring to certain columns.
plugin_config={'columns': {'X': {'gradient': 0.7836544570728833, 'neg_color': '#f07160', 'number_color_mode': 'gradient', 'pos_color': '#7dc3f0'}, 'Y': {'gradient': 8448, 'neg_color': '#ff9485', 'number_color_mode': 'gradient', 'pos_color': '#607785'}}}
Ideally the plugin config should be exposed as a param so one could set it while rendering the panel for the first time. Please let me know what you think, or if its already possible to do something like this with the current state of the Perspective API I would appreciate it if you could share some pointers.
Many Thanks
JJ
The text was updated successfully, but these errors were encountered: