I am looking to add color to a table I have in Dashboard Studio. I notice in the UI there are no coloring options when you select Column Formatting for a string type - the color formats only show for number types. So I tried to replicate the color formatting onto a string type via the source code but am not getting anywhere.
Is there something I am missing? Is this possible to color strings in tables with the current release of dashboard studio?
As you see adding to colors to number columns in Dashboard Studio is straightforward via GUI editor for numbered fields. To add colors to a column based on a value you need to do it in the source .json of the dashboard.
In my example, I created a table with a column name of "Status", which has the values of Success, Warning, Failed or Running. I wanted to change the color of the cell based on the value.
Here is what I did in the Dashboard source under "Visualizations" (skip down the section "Column Format:)
It is more helpful but we need to highlight entire row based on the column values success, warning, failed and running.
In your code only highlight particular cell not entire row. More appreciated if you are providing the json code for the same.
I am looking to edit my dashboard (Studio) - to color code a column based on certain values (non-numeric)
Same here...I am just looking for the JS code to add it to visualization part of the source code
Field name is "Game Status". The values in this columns and their respective color codes:
"Completed" to be in Blue, "on-line" to be in "Green" and "Not available" to be in "Red"