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
This controls whether the line is solid, dashed, dotted, etc. ('Set to a dash type string ("solid", "dot", "dash", "longdash", "dashdot", or "longdashdot") or a dash length list in px (eg "5px,10px,2px,2px").') https://plotly.com/javascript/reference/scatter/#scatter-line-dash
It's of course possible to use these attributes now e.g. using assoc-in on plotly/plot's output, but these seem like they would often be useful.
The text was updated successfully, but these errors were encountered:
I just realized that the default line width is already controlled by :=mark-size. There are examples in the Plotly Walkthrough that illustrate this configuration. However, I don't think that :=mark-size can be used to set different widths for different lines at present. It's useful to be able to set different widths for lines representing different date in the same plot.
I think it would be useful to add Plotly-Hanami substitution keys for line width and dashed/dotted configuration, etc. line attributes:
The argument is a number, default 2: https://plotly.com/javascript/reference/scatter/#scatter-line-width
This controls whether the line is solid, dashed, dotted, etc. ('Set to a dash type string ("solid", "dot", "dash", "longdash", "dashdot", or "longdashdot") or a dash length list in px (eg "5px,10px,2px,2px").') https://plotly.com/javascript/reference/scatter/#scatter-line-dash
It's of course possible to use these attributes now e.g. using
assoc-in
onplotly/plot
's output, but these seem like they would often be useful.The text was updated successfully, but these errors were encountered: