开发者

Adding series programmatically to a Dundas TreeMap

开发者 https://www.devze.com 2023-01-02 12:11 出处:网络
I\'m trying to programmatically add a series to a Dundas TreeMap but I\'m getting a Object 开发者_如何学JAVAreference not set to an instance of an object. error. This error looks to be a bug in Dundas

I'm trying to programmatically add a series to a Dundas TreeMap but I'm getting a Object 开发者_如何学JAVAreference not set to an instance of an object. error. This error looks to be a bug in Dundas, but I was wondering if anyone has tried/managed to do this?

If I add the series in declaratively then at all works fine.


It turns out that the TreeMap will quite happily have an empty series if they are declaratively declared, but if any are programatically added, then all series (even declaritive ones) have to have a data point. This worked for me.

0

精彩评论

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