Graphs has received an update today in the latest beta.
The "toolTipStyle" graph block parameter has been removed. This enables the enhanced graph tooltip when hovering above the graph. This is now enabled by default. The basic tooltip has been decommissioned. Please update your graph blocks by removed any instances of "toolTipStyle".
A new parameter has been added, "tooltiptotal", which accepts boolean (true or false) or array (['a', 'b', 'c']). When enabled it will add a "Total" value to the bottom of the tooltip, showing the total of all values.
For example, any of these:
Code: Select all
tooltiptotal: false, <--- This will not show a total
tooltiptotal: true, <--- This will show a total of all other values in the tooltip
tooltiptotal: ['Electric Day', 'Electric Night'], <--- This will only total the values specified
Any value that is being 'totalled' will show a plus icon (+).
Examples:
Code: Select all
tooltiptotal: ['Confirmed (Total)', 'Deaths (Total)'],
Notice above (in the last screenshot), only those datasets that have been specified in the "tooltiptotal" have been included in the total. As such, they have plus signs next to them.
If there are any issues or questions, I am sure you will let me know
"UI is the saddle, the stirrups, & the reins. UX is the feeling you get being able to ride the horse."