Replies: 3 comments 1 reply
-
This is a really cool feature. On namingI think ActionDot, or NotificationDot is a bit closer to a general use case here On syntaxOther possibilities You could In a Row<BarChart>
<ActionDot id=action_bool/> <!-- action_bool is a true/false column-->
<Column id=date/>
<Column id=category/>
</BarChart> In a Cell<BarChart>
<Column id=date/>
<Column id=category/>
<Column id=value_usd>
<ActionDot
color=red
threshold=200
warnOn=above
/>
</Column>
</BarChart> |
Beta Was this translation helpful? Give feedback.
-
Nice, those are great ideas. I like the slot one - it feels better to have it defined separately, rather than being a "content type" as I originally had it. Makes it much easier for custom formatting too |
Beta Was this translation helpful? Give feedback.
-
This is great for SLA reports. Instead of only dots, I would like the background of the cell is coloured either green or red in case of the value being above the threshold or green when it is below the threshold. The threshold is stored in another column and can be different per row. |
Beta Was this translation helpful? Give feedback.
-
Feature Description
Warning dots that appear in a row when a threshold is exceeded or criteria is met.
Nice to have would be on hover, showing the reason the specific item exceeded the threshold.
Challenging part of this will be how to structure the criteria. Even using a simple threshold is not straightforward because we would need to know if above or below triggers the warning.
I think the simplest way to implement this would be:
Column
accepts awarning
prop, which is a reference to a column containing the boolean infoDataTable
also accepts awarning
propIf this logic works for warning dots, it can also be applied to other forms of conditional formatting - e.g., highlight a full row.
Cell-Level Warning Dot
Row-Level Warning Dot
Beta Was this translation helpful? Give feedback.
All reactions