Using DataVisualization tokens anywhere you can specify a color #3498
-
I am attempting to migrate a section of the app to paste. Here is a screenshot of my current progress. Notice that I am using DataVizualization colors for a stacked bar chart. I would also like those same colors to appear beside the label of the bar in both the tooltip in the chart and the text based table breakdown above it. I can't do that because of type restrictions on color properties of Box and other components. Would it be possible to make DataVizualization tokens acceptable inputs to all color properties, or at least the backgroundColor one? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @pmiller-twilio, Unfortunately opening up the data viz color tokens on all color CSS or even backgroundColor is a slippery slope we won't be able to recover from, so that isn't a possibility. Is the tooltip generated from Highcharts or is it custom? |
Beta Was this translation helpful? Give feedback.
Hi @pmiller-twilio,
Unfortunately opening up the data viz color tokens on all color CSS or even backgroundColor is a slippery slope we won't be able to recover from, so that isn't a possibility. Is the tooltip generated from Highcharts or is it custom?