-
Notifications
You must be signed in to change notification settings - Fork 915
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
[BUG] Timeline Y Axis labels are the wrong colour in dark mode making them very difficult to see #2250
Comments
The timeline visualization is using a very old jquery based charting library under the hood (flot). Given that @joshuarrrr is currently looking into unifying the charting experience across the project, this will likely be fixed with that. |
[Triage]: More value would be to migrating this visualization as a priority to the new unifying charting experience. +1 to @joshuarrrr. |
I nerd-sniped myself into investigating and fixing this as part of my research into visualization color palettes. Migrating the timeline visualization rendering from |
Fixes opensearch-project#2250 Signed-off-by: Josh Romero <[email protected]>
- Render label as HTML instead of in the Canvas so that it picks up text color from CSS theme - Update CSS styles of yaxis label to match chart title - Update HTML rendering to support custom color overrides via inline styles Fixes #2250 Signed-off-by: Josh Romero <[email protected]>
- Render label as HTML instead of in the Canvas so that it picks up text color from CSS theme - Update CSS styles of yaxis label to match chart title - Update HTML rendering to support custom color overrides via inline styles Fixes #2250 Signed-off-by: Josh Romero <[email protected]> (cherry picked from commit 868c822) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> # Conflicts: # CHANGELOG.md
- Render label as HTML instead of in the Canvas so that it picks up text color from CSS theme - Update CSS styles of yaxis label to match chart title - Update HTML rendering to support custom color overrides via inline styles Fixes #2250 Signed-off-by: Josh Romero <[email protected]> (cherry picked from commit 868c822) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> # Conflicts: # CHANGELOG.md Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…#3698) - Render label as HTML instead of in the Canvas so that it picks up text color from CSS theme - Update CSS styles of yaxis label to match chart title - Update HTML rendering to support custom color overrides via inline styles Fixes opensearch-project#2250 Signed-off-by: Josh Romero <[email protected]> Signed-off-by: vagimeli <[email protected]>
…#3698) - Render label as HTML instead of in the Canvas so that it picks up text color from CSS theme - Update CSS styles of yaxis label to match chart title - Update HTML rendering to support custom color overrides via inline styles Fixes opensearch-project#2250 Signed-off-by: Josh Romero <[email protected]> Signed-off-by: David Sinclair <[email protected]>
In dark mode, when creating a visualisation of type Timeline, Y-axis labels are black which means they are difficult to see.
To Reproduce
Create a timeline visualisation with the following expression
.es().yaxis(label="Y AXIS LABEL GOES HERE").title("TITLE GOES HERE")
Note that in the created visualisation the title and legend are in white, but the y axis label is in black and is almost impossible to see.
I expect the y axis label to be white.
OpenSearch Version
1.3.4
Dashboards Version
1.3.4
Screenshots
Host/Environment:
Additional context
I haven't been able to verify if this is still an issue in 2.x
The text was updated successfully, but these errors were encountered: