Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
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?
Solved! Go to Solution.
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
....
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
....
I have tried not the exact but similar thing, and it worked.
Thanks
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