-
Notifications
You must be signed in to change notification settings - Fork 70
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
[FEA] API change for Panel Widget #256
Comments
This issue has been labeled |
@exactlyallan one solution to this problem is we add a d = cux_df.dashboard(charts=charts_list, sidebar=[widget_chart1, widget_chart2], layout_array=[
[1, 1, 2, 2],
[1, 1, 3, 4]
], theme=cuxfilter.themes.rapids, title="Layout - Custom") that way, only list of |
For consistency and added functionality, lets make the panel widgets able to be used in the chart layout area as well. |
This PR 1. Implements a sidebar api for dashboard function, closes #256 : ```python d = cux_df.dashboard(charts=charts_list, sidebar=[widget_chart1, widget_chart2], layout_array=[ [1, 1, 2, 2], [1, 1, 3, 4] ], theme=cuxfilter.themes.rapids, title="Layout - Custom") ``` 2. fixes #259 3. minor refactors wherever possible to use f-strings 4. updates docs to reflect `sidebar` prop usage Authors: - Ajay Thorve (https://github.com/AjayThorve) Approvers: - Bryan Van de Ven (https://github.com/bryevdv) URL: #262
Issue:
Currently panel widgets are considered 'charts' e.g.
charts.range_slider
, but are not considered part of the layout chart order. This can be confusing in creating custom layouts.Proposal:
Move 'Panel Widgets' outside of charts, up one level e.g.:
cuxfilter.charts.multi_select('year')
->cuxfilter.panel_widget.multi_select('year')
The text was updated successfully, but these errors were encountered: