Skip to content

Add way to set which traces show up in range slider plot #2010

Closed
@Kurairaito

Description

@Kurairaito

Hi,

I played with financial charts and candlesticks chart and found that the range slider is somewhat limited.

In my quest to customize it, I found those links : #279 where I saw that a feature I wanted to use was listed but then I found https://plot.ly/javascript/reference/#layout-xaxis-rangeslider and saw this was not yet implemented.

I would like to draw severals informations in one graph : for example : Candles, Volume, 1 or more moving average etc ...

example :
https://codepen.io/anon/pen/LzpKZg

You can see that all traces are draw again in the range slider. it's useless, take memory, render the trace in this areas unreadable etc.

The option "showtraces" from #279 seemed to be really useful for this kind of data's. Could it be implemented ?

Best option should be to implement the showtrace option and give an array of the trace to be drawn, second option could be to draw only the first trace, and user arrange his data to put the trace he want in first place.

Also is there a workaround to remove some trace from the range slider ?

Regards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions