Hover styling for dataset in 'dataset' mode#6527
Conversation
|
I just had an idea. What if we call We could automatically look for options of the same name prefixed with |
|
I think it'd be nice to update I also think some of the other docs need to be updated as well like bar chart now that this is implemented generically. Maybe we can document hover generically? |
Agreed, but its not quite in the scope of this PR
Bar does not utilize |
| | [`borderWidth`](#line-styling) | `number` | Yes | - | `3` | ||
| | [`cubicInterpolationMode`](#cubicinterpolationmode) | `string` | Yes | - | `'default'` | ||
| | [`fill`](#line-styling) | <code>boolean|string</code> | Yes | - | `true` | ||
| | [`hoverBackgroundColor`](#line-styling) | [`Color`](../general/colors.md) | Yes | - | `undefined` |
There was a problem hiding this comment.
Should we document hoverCubicInterpolationMode and hoverFill?
There was a problem hiding this comment.
Neither of those work. We are not going through update on hover, just updating the model with options and then render.
So bezier control points don't get updated.
I did not investigate why hoverFill does not work.
* Hover styling for dataset in 'dataset' mode
Dataset level hover styles for
datasetmode.Pen
Closes: #2136
Partially solves: #3880 (hover only triggered by points still, not filled area as requested)