Skip to content

Commit

Permalink
enable filter field for plotly and observable plot charts
Browse files Browse the repository at this point in the history
  • Loading branch information
mutantsan committed Jun 19, 2024
1 parent 95007b8 commit 6c9c597
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ckanext/charts/chart_builders/observable.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ def get_form_fields(self):
self.fill_field(columns),
self.opacity_field(),
self.limit_field(),
self.filter_field(columns),
]


Expand Down Expand Up @@ -110,6 +111,7 @@ def get_form_fields(self):
self.sort_x_field(),
self.sort_y_field(),
self.limit_field(),
self.filter_field(columns),
]


Expand Down Expand Up @@ -186,6 +188,7 @@ def get_form_fields(self):
self.limit_field(),
self.width_field(),
self.height_field(),
self.filter_field(columns),
]


Expand Down Expand Up @@ -223,6 +226,7 @@ def get_form_fields(self):
self.color_field(columns),
self.opacity_field(),
self.limit_field(),
self.filter_field(columns),
]


Expand Down Expand Up @@ -260,4 +264,5 @@ def get_form_fields(self):
self.color_field(columns),
self.opacity_field(),
self.limit_field(),
self.filter_field(columns),
]
4 changes: 4 additions & 0 deletions ckanext/charts/chart_builders/plotly.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ def get_form_fields(self):
self.animation_frame_field(columns),
self.opacity_field(),
self.limit_field(),
self.filter_field(columns),
]


Expand All @@ -138,6 +139,7 @@ def get_form_fields(self):
self.names_field(columns),
self.opacity_field(),
self.limit_field(),
self.filter_field(columns),
]


Expand Down Expand Up @@ -181,6 +183,7 @@ def get_form_fields(self):
self.sort_y_field(),
self.limit_field(),
self.chart_title_field(),
self.filter_field(columns),
]


Expand Down Expand Up @@ -228,4 +231,5 @@ def get_form_fields(self):
self.color_field(columns),
self.animation_frame_field(columns),
self.opacity_field(),
self.filter_field(columns),
]

0 comments on commit 6c9c597

Please sign in to comment.