Jump to content
Software FX Community

RE: Assign two series to one Axis in Dual Y-axis chart

Software FX

Recommended Posts

Please see thread in the CfxIE.* newsgroup 


Juan Cegarra

Software FX, Inc.


-----Original Message-----

From: Yang Xie [ mailto:yxie@ziplink.net]

Posted At: Thursday, July 27, 2000 10:57 PM

Posted To: General

Conversation: Assign two series to one Axis in Dual Y-axis chart

Subject: Assign two series to one Axis in Dual Y-axis chart

Hello all:

I have a recordset which contains 5 columns x 12 rows of

data. the first column

is for X-axis. the 2nd and 3rd column are percentage. and

4th and 5th column are

quantities. I want to use a dual Y-axis chart to represent

the data (the left

Y-axis is used for two percentage series and the right

Y-axis is used for two

Quantity series. What I want eventually is a chart with two

lines for percentages and

two bars for quantities). My problem seemed to be I don't

know how to assign

FOUR series to TWO Y-AXIS (TWO series for each ONE Y-AXIS).

I read through the

help and only got how to assign one series to one axis. it

doesn't seem working

if I say:

set chart=Server.CreateObject("ChartFX.WebServer")


Chart.ADOResultset rstTrend


chart.MultiType(0)=xxx ---> 'for 'line and dot' type

chart.MultiType(1)=xxx ---> 'for 'line and dot' type

chart.MultiType(2)=yyy ---> 'for 'bar' type

chart.MultiType(3)=yyy ---> 'for 'bar' type

chart.MultiYAxis(0)=1 ---> ' assign 2nd series to left


chart.MultiYAxis(0)=2 ---> ' assign 3rd series to left


chart.MultiYAxis(1)=3 ---> ' assign 4th series to right


chart.MultiYAxis(1)=4 ---> ' assign 5th series to right



What did I do wrong? I guess that is what I am actually

looking for.

Thank you for your attention.


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...