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

TSVB Time Series Custom Color Mapping #1165

Open
jbuchmueller opened this issue Jan 19, 2022 · 1 comment
Open

TSVB Time Series Custom Color Mapping #1165

jbuchmueller opened this issue Jan 19, 2022 · 1 comment
Labels
enhancement New feature or request unified visualization UX ux / ui Improvements or additions to user experience, flows, components, UI elements visualizations Issues and PRs related to visualizations

Comments

@jbuchmueller
Copy link

Problem Statement

I am creating a dashboard for visualizing states of a process (see image). The data I use consists of temporal event data in four categories (1-4). The dashboard displays different views on this dataset:

First, a gantt chart i coded in Vega Lite displaying the event sequences and durations. Second, a OS-native pie chart visualization displaying the ratios between the event types aggregated for 24 hours. And lastly, a TSVB time series visualization displaying the ratios between the event types for the past 7 days in steps of 24 hours. This is how it looks like:

image

Naturally, the same information should be encoded in the same color in each view. While I can customize the color mappings in vega lite and OS-native visualizations, to the best of my knowledge, this does not seem to be possible for TSVB time series, which rely on some sort of serverside predefined color mapping. Yet, I would like to be able to edit the color mapping to create consistent dashboards that are more accessible to observers.

Solution Proposal
Ideally, I would like to have a menu option in the TSVB time series GUI to assign colors to categories, maybe with a color picker as in the standard visualizations, if possible (While the color picker also should allow for individual selection instead of only predefined palettes).
image

Preliminary, I would also be fine with a possibility to configure the colors using the saved objects editor, as I did for the Pie/Donut Chart by setting the uiStateJSON.
image

I sincerely hope, that this possibility does not already exist. In case it did, it would need much better documentation, as I was not able to find any information on the topic.

@jbuchmueller jbuchmueller added the enhancement New feature or request label Jan 19, 2022
@ahopp ahopp added the ux / ui Improvements or additions to user experience, flows, components, UI elements label Mar 3, 2022
@ahopp
Copy link
Contributor

ahopp commented Mar 3, 2022

@btzeng Wanna take a look here? Seems to be related to #1241

I think this should be included in a broader color theming workstream e.g., custom branding colors, custom color inside all visualizations (above), custom color themes, improvements to color encoding, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request unified visualization UX ux / ui Improvements or additions to user experience, flows, components, UI elements visualizations Issues and PRs related to visualizations
Projects
None yet
Development

No branches or pull requests

3 participants