Flex LineSeries interpolateValues as ZERO?
In a LineChart in Flex you can set a LineSeries to interpolateValues="true"
what this does is connect missing values so you do not have gaps in your line. But what I would like is for it to insert 0's for the 开发者_如何学JAVAmissing fields instead of drawing a direct line to fill the gap.
Is there a way to set it to do that?
Thanks!!
I don't think that you can, interpolate is a way of guessing what your data point might have been. I think a quick function on your DataProvider could fill in the gaps with 0s though, and then you wouldn't have to mess with interpolation.
精彩评论