Plotted DataSeries has fewer bars than the Symbol being charted
Author: Ben_Zurich
Creation Date: 4/19/2013 7:50 AM
profile picture

Ben_Zurich

#1
I am getting this message when I try to plot non-synchronized data. Why is this?

I want to plot exactly the data that I have from an external symbol. No zeroes before and after the time period of the external symbol that distort the display in the chart.

If this is not possible by PlotSeries(), how can I suppress the display of the non-existing data?



profile picture

Eugene

#2
This is by design.

To quote the WealthScript Programming Guide > DataSeries:

QUOTE:
All DataSeries contain the same number of values as bars in the chart.

profile picture

Eugene

#3
As a workaround, you can use Color.Transparent on the bars that you think you don't need:

CODE:
Please log in to see this code.
profile picture

Ben_Zurich

#4
This is great.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).