Implementing a "Loop" line chart #1059
Unanswered
StefanoRizzettoAirbag
asked this question in
Questions
Replies: 1 comment
-
Hello, @StefanoRizzettoAirbag. This isn’t a line chart, as the data isn’t a one-to-one mapping. There isn’t built-in support for such charts at the moment — a custom |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Question
How can i implement a chart like this? I tried with LineCartesianLayer but it seems x values cannot go back because previous values are dropped, for example this set of values:
FlowVolumeData(flow = 0.0, volume = 0.0), FlowVolumeData(flow = 1.0, volume = 1.0), FlowVolumeData(flow = -1.0, volume = 0.0), FlowVolumeData(flow = 2.0, volume = 2.0), FlowVolumeData(flow = 3.0, volume = 1.0), FlowVolumeData(flow = 4.0, volume = 0.0), FlowVolumeData(flow = 1.0, volume = -1.0), FlowVolumeData(flow = 0.0, volume = 0.0), FlowVolumeData(flow = 1.0, volume = 1.0), FlowVolumeData(flow = -1.0, volume = 0.0), FlowVolumeData(flow = 2.0, volume = 2.0), FlowVolumeData(flow = 3.0, volume = 1.0), FlowVolumeData(flow = 4.0, volume = 0.0), FlowVolumeData(flow = 1.0, volume = -1.0),
produce this chart
thank you
Module(s)
No response
Platform(s)
Android
Platform version(s)
No response
Vico version(s)
2.1.0
Beta Was this translation helpful? Give feedback.
All reactions