Closed dehli closed 8 years ago
@delhi I am wondering if highlight is what you wanted? Programmatically setting the brushed elements like you suggest without setting the brush extents on the axis might cause some user experience issues.
Let me checkout your fork.
@mcwillso Ahh, that's a good point. i was thinking of completely disabling the brush extents and only using these functions. My thought was that I'd have a table like this with checkboxes on each row. Then you could check/uncheck the row to either brush or unbrush it.
If brush extents were enabled, then unbrushing an element could possible modify the brush extent? Maybe brush/unbrush would only work when you have the ability to add multiple brush extents or if they're completely disabled.
Hope this makes sense.
@dehli What functionality is missing from the highlight functions to accomplish that?
I liked using unbrush/brush so that the background lines wouldn't show up. Let me further investigate using highlight though. It might be able to work. Thanks!
I'm going to retry this in another branch.
Hi! I've added two functions that can be used to programmatically brush or unbrush elements. What are your thoughts on these implementations? I think it could be something that's useful.
Thanks!