HumanSignal / label-studio

Label Studio is a multi-type data labeling and annotation tool with standardized output format
https://labelstud.io
Apache License 2.0
19.05k stars 2.37k forks source link

Time series as dots instead of connected lines? #5672

Open protoniu opened 7 months ago

protoniu commented 7 months ago

Is it possible to have time series plots with different style, not just connected lines? Like point or scatter plots? Is it possible to have multiple lines on the same axis?

avishapiro commented 2 months ago

@protoniu If you have time series in different columns of the same input file and they have the same time column, you plot them together on one axis with multiple Channel tags. See the example.

You can add markers to the line plots by adding parameters to the Channel tags such as markerColor="#1f77b4" markerSize="4". However, I found that setting strokeWidth=0 removes the lines and the markers unfortunately. So a pure scatter plot seems unsupported currently.