IsraGab
IsraGab

Reputation: 5185

Append data count onto different series

I have 2 datatime series (A & B) Xaxis should be time and yaxis is count.

If time t i have 1 value on serie A, graph will show: [x=t, y=1]. If same time t i have one other value on serie B, I would like that value to be show: [x=t, y=2].

At the moment I modify 'manualy' values on serie B.

I wonder if there os a built-in method in highcharts to have that behavior? Thx

Upvotes: 0

Views: 45

Answers (1)

pawel_d
pawel_d

Reputation: 3070

Ok, so in that case you would have to create some custom code that gets all data, checks for occurrences of the same dates and based on that information set appropriate y values for points. I have prepared a simple demo where all emails are correctly arranged on the chart.

Example:
https://jsfiddle.net/BlackLabel/ywsh98f5

Upvotes: 1

Related Questions