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


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

  • Create New...