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

Add Support for Conditional Highlighting in Charts for Frappe Insights #338

Open
parameshnalla opened this issue Nov 4, 2024 · 0 comments
Labels
feature request New feature or request v3

Comments

@parameshnalla
Copy link

Description:
Request to implement a feature allowing users to apply conditional formatting on charts in Frappe Insights. This feature would allow certain values in the chart to be highlighted based on predefined conditions, such as highlighting order values that exceed a specified threshold.

Feature Example:
In a line graph displaying order values over time, if an order value is greater than 200, it should be highlighted (e.g., with a different color or marker) to stand out from the other data points.

Feature Details:

Conditional Formatting Options:

Allow users to set conditional rules, e.g., Order Value > 200.
Users can specify the condition, value, and highlight style.
Highlight Customization:

Options to customize how the highlighted data points should appear:
Different color.
Marker shape or size.
Text or tooltip indicating the condition.

Chart Types:

Implement this feature for line charts, but ideally extend it to other chart types, such as bar and scatter charts.
Configuration in Frappe Insights:

Add a settings option within the chart configuration UI to set up and edit conditional highlighting rules.
Users should be able to add multiple conditions and customize each.

Acceptance Criteria:

Ability to define multiple conditional formatting rules in chart settings.
Display highlighted data points on the chart based on conditions.
Ability to toggle conditional formatting on and off.
Configuration to persist and apply in all views where the chart is used.

Impact:
Enhances data visualization in Frappe Insights, enabling users to quickly spot outliers, trends, or critical values, thus improving data analysis and decision-making.

@nextchamp-saqib nextchamp-saqib added feature request New feature or request v3 labels Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request v3
Projects
None yet
Development

No branches or pull requests

2 participants