ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  A circular grid polargraph, starting on 45 degrees?
Posted by Frank on Jul-24-2015 07:44
Attachments:
Hello Peter,

Thank you for your help, we are using ASP. Is it possible to make a circular grid polargraph, which starts on 45 degrees to the right instead of starting on the top?

Attached for example-purposes you see a square grid with 4 kwadrants which starts on 45 degrees and a circular grid which does start at 0 degrees. I would like to shift the latter to starting at 45 degrees, is it possible?

Thanks you for answering,

Frank
circular_grid.jpg
square_grid.jpg

  Re: A circular grid polargraph, starting on 45 degrees?
Posted by Peter Kwan on Jul-25-2015 03:00
Hi Frank,

Instead of using AngularAxis.setLabels, you may use something like:

'The circle is from -0.5 (at the top) to 3.5. Since the data points are at 0, 1, 2, 3,
'they will be at 45 degrees from the vertical line
Call c.angularAxis().setLinearScale(-0.5, 3.5, cd.NoValue)

'Put the angular labels at 0, 1, 2, 3
For i = 0 To Ubound(labels)
   Call c.angularAxis().addLabel(i, labels(i))
Next

Regards
Peter Kwan

  Re: A circular grid polargraph, starting on 45 degrees?
Posted by Frank on Jul-26-2015 07:38
Thank you, Peter! It works like a charm.

Kind regards,

Frank