.NET Framework Bookmark and Share   
 index > Chart Controls for .NET Framework > Stacked bar label text?
 

Stacked bar label text?

hi.

i been workig on my stacked bar chart and have done it all except this one thing with the label..
my scenario is that i got 3 series that display links, now it shows diffrent stats. i want to display what link it is displaying stats for, i databind dynamicly in codebehind.

i have looked at the documentation but with no real answer for this(not what i can se)
Jedi302
Chart1.Series("Series1").Points(0).AxisLabel = "My Axis Label"

In the samples (http://code.msdn.microsoft.com/mschart) , see Contents-tab -> Chart Features -> Labels -> Axis and Data Point Labels

  • Marked As Answer byJedi302 Friday, September 18, 2009 1:07 PM
  •  
sipla

I'm not sure if I understood correctly, but have you tried:

	series.Label = "#SERIESNAME"

For more keywords to use in the label: http://msdn.microsoft.com/en-us/library/dd456687(VS.100).aspx

sipla
that works now i get a label on one of the series but what i want want to get a label with the name on the axis instead on the whole stack, like instead of the 1, 2, 3 ,4 ect i want it to be my url's..

Jedi302
Chart1.Series("Series1").Points(0).AxisLabel = "My Axis Label"

In the samples (http://code.msdn.microsoft.com/mschart) , see Contents-tab -> Chart Features -> Labels -> Axis and Data Point Labels

  • Marked As Answer byJedi302 Friday, September 18, 2009 1:07 PM
  •  
sipla
Chart1.Series("Series1"
).Points(0).AxisLabel = "My Axis Label"

In the samples (http://code.msdn.microsoft.com/mschart ) , see Contents-tab -> Chart Features -> Labels -> Axis and Data Point Labels


i missed that.. thanks a lot that works great..
Jedi302

You can use google to search for other answers

Custom Search

More Threads

• In the Crystal Report, change the data displayed at runtime
• Changing column color incrementally
• stacked Bar setting xvalue
• "False Border" on Charts
• Y Data Not Visible in ASP.NET Chart Control Properties inside VS 2008
• StackedColumn diffrent series (columns to begin at Y-Axel 0)
• Bar Charts Question
• HOW TO ADD THE RADOR CHART AND HOW TO ENTER THE DATA IN THE RADOR CHART
• error generated in using WinSamples with databinding to csv file
• Pie Chart Control