Will try to explain what I need to build, perhaps someone will advise me on the type of chart I should use for this purpose.
There is an array of elements that hold timestamp and value (one of the possible predefined states)
DiscreteMeasurement[] {
value: DiscreteState;
timeStamp: number;
}
This data should be displayed as a single bar chart, attached to this post. Have tried experimenting with stacked bar charts, but it is more about cumulative data, rather than the state in a specific moment of time. Have also tried the timeline chart, but it's more about placing some different events on the timeline. not type of data I have:
[{value: red, timeStamp: 100}, {value: red, timeStamp: 200}, {value: blue, timeStamp: 300}, {value: red, timeStamp: 400}, {value: green, timeStamp: 500}, {value: red, timeStamp: 600}, {value: red, timeStamp: 700}, {value: red, timeStamp: 800}, {value: blue, timeStamp: 900}]
Have even considered X-range series, but there should be 2 time values, and it's not what I need.