开发者

Flex LineSeries interpolateValues as ZERO?

开发者 https://www.devze.com 2022-12-17 16:14 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消