Jump to content
Software FX Community

Pie Chart Labels display 2nd series only

User (Legacy)

Recommended Posts


Am attempting to draw two charts by having two sets of data (series). This

works fine and I get the two PIE charts with the correct values. However,

the labels shown for both PIE charts are from the last series entered only.

For example, I have tried setting the label by:

Chart1.ValueEx(TheSeries,YValue) = int(AnswerVal)

'response.write(" Answer: " & Answer)

'Chart1.Series(0).Legend = Answer

'Chart1.KeyLeg(0) = "Test 1"

'Chart1.KeyLeg(1) = "Test 2"

'Chart1.KeyLeg(2) = "Test 3"

chart1.Legend(YValue) = Answer

Chart1.Axis(AXIS_X).Label(TheSeries) = (TheSeries) & "

Value: " & YValue

What the last line gives me on both PIE charts is series 1 (zero based) and

YValue instead of seeing series 0 and YValue on the first PIE chart, and


series 1 and YValue on the second chart.

Any help would be appreciated.


James Barker

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