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

Message ListMessage List     Post MessagePost Message

  Contour Chart In VB6 with 200000 data
Posted by akim on Sep-15-2009 10:43
Attachments:
I have 200000 data (row) in my record. I tried to make contourchart in vb6 with this data, but the result is not maximal., I want contour chart like this (contour.jpg) with vb6.
How... ? please...

thanks
regards

akim's
contour.jpg

  Re: Contour Chart In VB6 with 200000 data
Posted by akim on Sep-16-2009 10:44
can anyone help me....

  Re: Contour Chart In VB6 with 200000 data
Posted by Peter Kwan on Sep-16-2009 15:52
Hi akim,

Have you tried to pass your data to ChartDirector to plot the contour chart? If there is an issue, would you mind to clarify what is the issue?

Regards
Peter Kwan

  Re: Contour Chart In VB6 with 200000 data
Posted by akim on Sep-17-2009 11:28
Attachments:
- How to set xaxis like this ?

* data:
--------------------------------------------------
                           x             y                z
--------------------------------------------------
record    1.          180            30            10000
record    2.          30            -60            10000
record    3           90            -40            10000
record    4           270           -45            10000
record    5           320           30             10000
              .            .               .              .
              .            .               .              .
              .            .               .              .
record  200000     355           90            10000
---------------------------------------------------


regards
akim
Xaxis_contour.jpg

  Re: Contour Chart In VB6 with 200000 data
Posted by Peter Kwan on Sep-18-2009 00:26
Hi akim,

First, modify your data, so that the x range is from -180 to 180 (not from 180 to 360 then from 0 - 180). The code is:

For i = 0 To Ubound(dataX)
   If dataX(i) > 180 Then dataX(i) = dataX(i) - 360
Next

Then your x-axis will be from -180 to 180. To label your axis, you may use:

Call c.setLinearScale(-180, 180, Array("", 210, 240, 270, 300, 330, 0, 30, 60, 90, 120, 150, 180))

So even internally, the dataX is -180 to 180, the labels will show ("", 210, 240, 270, 300, 330, 0, 30, 60, 90, 120, 150, 180).

Hope this can help.

Regards
Peter Kwan

  Re: Contour Chart In VB6 with 200000 data
Posted by akim on Sep-23-2009 23:05
thank you very much for your help. i want to try

  Re: Contour Chart In VB6 with 200000 data
Posted by akim on Sep-26-2009 11:01
thank you very much sir.
its excellent


akim