You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the use case of using histograms as legends (https://gis.stackexchange.com/q/207208/1931) it is necessary to colour the individual bars of the histogram using different colours.
Plotly currently does not have an option for automatically colouring the bars of a histogram using a colorscale (plotly/plotly.js#1984), but it is possible to provide an array of color names to the marker.color attribute (https://plot.ly/javascript/reference/#histogram-marker-color). If this was exposed using the DataPlotly GUI using a field that allows an expression to be used, it would be possible to create the histogram legend described above.
The text was updated successfully, but these errors were encountered:
For the use case of using histograms as legends (https://gis.stackexchange.com/q/207208/1931) it is necessary to colour the individual bars of the histogram using different colours.
Plotly currently does not have an option for automatically colouring the bars of a histogram using a colorscale (plotly/plotly.js#1984), but it is possible to provide an array of color names to the
marker.color
attribute (https://plot.ly/javascript/reference/#histogram-marker-color). If this was exposed using the DataPlotly GUI using a field that allows an expression to be used, it would be possible to create the histogram legend described above.The text was updated successfully, but these errors were encountered: