Hello there,
I have a fairly straightforward Stacked Column chart. Everything displays correctly, other than the tool tips. I want the each column in a stack to display its own value as opposed to the accumulated value. The data for the columns in a stack are percentages, therefore the top column always displays a 100.
So, I have two questions. Is it possible to display percentages in a Stacked Column chart rather than numbers? If not, what is the best way to have the tooltips display proper values for each column in a stack?
I created this chart through the Chart Wizard, so I have no custom code that I can add stuff to.
Thanks for any help
Yes and yes.
To do the first part, the percentage may or may not be readily available.
List of available format strings:
http://help.infragistics.com/Help/NetAdvantage/NET/2008.2/CLR2.0/html/Chart_Label_Formatting.html
Try setting the ultrachart.Tooltips.FormatString to <PERCENT_VALUE>. If this does not work then you would have to do custom label rendering using the IRenderLabel interface explained here:
http://help.infragistics.com/Help/NetAdvantage/NET/2008.2/CLR2.0/html/Chart_Customize_Labels_Using_the_IRenderLabel_Interface.html
For the second question, you could try <DATA_VALUE_ITEM> and also if that does not work you would have to use the IRenderLabel method as well.