Jump to content
Software FX Community

Graphs using Crosstab data provider


User (Legacy)

Recommended Posts

Hi,

the following is the result of executing a query

SEX BPSYSTOLIC PERSONCOUNT

F 120 1

M 120 1

F 122 1

M 140 1

Now to draw a scatter chart using the data above, I'm using the crosstab

provider with

CfxCrosstab.DataType(0) = CTDT_COLUMNHEADING

CfxCrosstab.DataType(1) = CTDT_ROWHEADING

CfxCrosstab.DataType(2) = CTDT_VALUE

The graph I obtained is as follows

My question is: Is there a way to obtain the label on the X-Axis to be

uniformly spaced.

(ie) Instead of the 120, 122, 140 can it be 120, 140 (a spacing of 20

instead of an

un-uniform spacing of 2 and then 18).

Any help is greatly appreciated

Thanks,

Sri

Link to comment
Share on other sites

What you need is that the values in X-Axis be used as X Values, which I'm

afraid, is not possible using the Crosstab with Chart FX Internet.

This feature is available in Chart FX for .NET, though.

---

IG

Software FX

"Sripresanna Narayanasamy" <presannan@ARTHRITIS.ARIZONA.EDU> wrote in

message news:hn3jC1K7CHA.3128@webserver1.softwarefx.com...

> Hi,

> the following is the result of executing a query

> SEX BPSYSTOLIC PERSONCOUNT

> F 120 1

> M 120 1

> F 122 1

> M 140 1

>

>

> Now to draw a scatter chart using the data above, I'm using the crosstab

> provider with

>

> CfxCrosstab.DataType(0) = CTDT_COLUMNHEADING

> CfxCrosstab.DataType(1) = CTDT_ROWHEADING

> CfxCrosstab.DataType(2) = CTDT_VALUE

>

> The graph I obtained is as follows

>

>

> My question is: Is there a way to obtain the label on the X-Axis to be

> uniformly spaced.

> (ie) Instead of the 120, 122, 140 can it be 120, 140 (a spacing of 20

> instead of an

> un-uniform spacing of 2 and then 18).

>

> Any help is greatly appreciated

> Thanks,

> Sri

>

>

>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...