1 line with different styles

Is it somehow possible to draw a single line using a ColumnDataSource where the line is dashed in some interval and solid in another interval etc.
It is not a possibility to draw multiple lines and “simulate” it…it must be a single line with different styles for different intervals

This is not possible (chiefly because the underlying HTML Canvas does not support it). You will have to simulate it, e.g. with multi_line, or else use a different (probably non-browser based) tool.

1 Like