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

Message ListMessage List     Post MessagePost Message

  polar scatter chart
Posted by vikas on Oct-03-2012 22:28
can i fix the lables on polar charts. i mean it should show (0,20,40,60)km on axis label fixed. if any distance or point  is below 60 km , it will show otherwise it wont show.

  Re: polar scatter chart
Posted by Peter Kwan on Oct-03-2012 22:57
Hi vikas,

You may use Axis.setLinearScale. For example:

c.radialAxis().setLinearScale(0, 60, 20);

The above will force the axis scale to be 0, 20, 40, 60. Note that if you have a point above 60, it will still be plotted outside the circular grid.

Regards
Peter Kwan

  Re: polar scatter chart
Posted by vikas on Oct-04-2012 00:30
thanx bro but if my chart have maximum scale 60 , then how it will show point 1000, 2000. will it show both distance outside the chart. because i donot want if distance is 1000, then it redraw labels and if distance is 2000, it again re draws the labels. as i m plotting lat long. of points, every time it re draw the labels and location changes as i donot want it should happen

  Re: polar scatter chart
Posted by Peter Kwan on Oct-04-2012 12:58
Hi vikas,

If your radial axis is from 0 - 60, and you have a point at radius = 61, it will be plotted just outside the circular grid. If you have a point at radius = 120, then it will be plotted quite far away from the circular grid (probably outside the chart image so it will not be visible).

If you do not want to plot points with radius > 60, please remove them before passing the data to ChartDirector.

Hope this can help.

Regards
Peter Kwan

  Re: polar scatter chart
Posted by vikas on Oct-04-2012 21:48
thanx,

can i do the zoom in and zoom out in polar scatter chart
how to use that option.

  Re: polar scatter chart
Posted by Peter Kwan on Oct-05-2012 05:15
Hi vikas,

Please refer to the following thread for a discussion of zooming in polar charts and an example in C++:

http://www.chartdir.com/forum/download_thread.php?bn=chartdir_support&thread=1183378085

Regards
Peter Kwan