PolarHeatMapSeries example

Oystein Bjorke fa 10 anys 0
This discussion was imported from CodePlex

David_NET wrote at 2013-12-09 10:37:

model.Series.Add(new PolarHeatMapSeries { Data = matrix, Angle0 = 175, Angle1 = 185, Magnitude0 = 0, Magnitude1 = 100, Interpolate = false });

model.Series.Add(new PolarHeatMapSeries { Data = matrix, Angle0 = 275, Angle1 =285, Magnitude0 = 0, Magnitude1 = 100, Interpolate = false });
It seems that it is not possible to define angle0 or angle1 beyond 180 degree. Anyone has similar experience?

The first segment Angle0 = 175, Angle1 = 185 ends up Angle0 = 170, Angle1 = 180
The second segment Angle0 = 275, Angle1 =285, is not drawn.

Can other verify this? Thanks

objo wrote at 2013-12-09 21:42:

I think there is a bug related to radians not converted to degrees.
I have added some code that fixes the bug in the example.
To create a polar heatmap from 355 to 5 degrees may need some more changes..

David_NET wrote at 2013-12-10 10:22:

thanks, the example PolarHeatMapSeries is an interesting custom plot illustrating how other complex charts can be achieved by deriving from the existing classes. It makes one wonders what else can or can not be achieved through the solidly conceived cross-platform Oxyplot framework.