Jump to content
Software FX Community

Secondary Y axis setting


User (Legacy)
 Share

Recommended Posts

Hi... 

i want to set the secondary Y axis...

From DB, i received data "date, value1, value2"

and date value is the x-axis value

, and value1 is one series, value2 is one series...

but value1 and value2 have differrent interval. so i set the secondary

y-axis for value2..

in code, i write as below...

but the secondary y-axis has 0 ~ 100 interval not i specified....

furthermore, secondary y-axis data aren't plotted in graph.

how can i view the data??

plz. comment...

etc) below, ASP Code.

--------------------------------------------

chart.AdoResultSet objdmRs

chart.MultiYAxis(1) = 1

chart.BkColor(1) = RGB(213, 223, 245)

chart.Adm(CSA_MIN2) = min_index

chart.OpenDataEx COD_COLORS,2, 0

chart.Color(0) = RGB(255, 0, 0)

chart.Color(1) = RGB(0, 0, 255)

chart.CloseData COD_COLORS

chart.DateFormat = "yyyy-MM-dd"

Response.write chart.GetHtmlTag(500,300)

objdmRs.Close

---------------------------------------------

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.

Guest
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.

 Share

×
×
  • Create New...