Skip to main content
1-Visitor
May 22, 2018
Solved

Display Time series chart to like 0-1 binary(clock signal) graph

  • May 22, 2018
  • 2 replies
  • 1520 views

Hello Community,

 

I have one Time series chart which is displayed like the attached image(TimeSeries.PNG). The properties has just 0 and 1 values. And I want a chart to like a Clock signal graph as shown in the image(Expected_Graph.png).

 

Can you please help me, how can I generate the output I require?

Best answer by CarlesColl

Time series chart by default doesn't supports this kind of "rendering" (Rect Left, Rect Right ), you may try with LabelChart you will get Bars for each value (1 and -1 for instance ), but if you need time span you maybe out of luck.

 

Another options with TimeSeries chart it's returning fake data points in order to draw the desired result:

Real Data

Data Point 1 : Time1 , Value: 1

Data Point 2: Time2, Value: 0

Data Point 3: TIme3, Value: 1

Fake Data Set:

Data Point 1: Time1, Value:1

Data Point 1': dateAddMiliseconds(Time2,-1), Value: 1

Data Point 2: Time2, Value:0

Data Point 2': dateAddMilliseconds(Time3,-1), Value:0

....

2 replies

1-Visitor
May 22, 2018

Time series chart by default doesn't supports this kind of "rendering" (Rect Left, Rect Right ), you may try with LabelChart you will get Bars for each value (1 and -1 for instance ), but if you need time span you maybe out of luck.

 

Another options with TimeSeries chart it's returning fake data points in order to draw the desired result:

Real Data

Data Point 1 : Time1 , Value: 1

Data Point 2: Time2, Value: 0

Data Point 3: TIme3, Value: 1

Fake Data Set:

Data Point 1: Time1, Value:1

Data Point 1': dateAddMiliseconds(Time2,-1), Value: 1

Data Point 2: Time2, Value:0

Data Point 2': dateAddMilliseconds(Time3,-1), Value:0

....

1-Visitor
May 25, 2018

I have tried not the exact but similar thing, and it worked.

 

Thanks

22-Sapphire I
May 22, 2018

You could try it with a bar chart setup.

else you may have to insert additional points to get the full up and down look and feel that you want