Rotate HeatMapChart (place origin of co-ordinates to the upper right corner)


Rotate HeatMapChart (place origin of co-ordinates to the upper right...
Author
Message
joern kunze
joern kunze
Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)
Group: Forum Members
Posts: 86, Visits: 221
Hi Experts,

I want to rotate a HeatMapChart (NHeatMapSeries), so that the origin of co-ordinates is in the upper right corner.

With a SurfaceChart this can be done using:
 nChartControl1.Charts[0].Projection.Rotation = 180;
- but with the HeatMapChart it doesnt work.

Than I tried to use:
nChartControl1.Charts[0].SetPredefinedChartStyle(PredefinedChartStyle.HorizontalRight);
- than I am "half way" there. But I need to rotate the Chart not just 90 degrees but 180 degrees.
How can I do this?

Thanks for your help,
Joern
Reply
Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K
Hi Joern,
You can easily rotate the chart by 180 degrees using the ViewerRotation property:
chart.Projection.ViewerRotation = 180;
Alternatively you can achieve the same effect using axis docking (dock the horizontal axis to the top) and the vertical axis to the right and then flipping the axes using the ScaleConfigurator.Invert property.
Hope this helps - let us know if you meet any problems.


Best Regards,
Nevron Support Team


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search