Nov 04, 2012, 9:20 PM
[CLOSED] Chart Tip
I have a Column Chart that has multiple YFields (2012, 2011, 2010). My current tip renderer shows something like "Coke: 165". I would like the tip for that column to say "2009: 165". Is there a way to get the legend label for the column tip.
// Create: Column Series
ColumnSeries cSeries = new ColumnSeries();
cSeries.Axis = Position.Left;
cSeries.Highlight = true;
cSeries.XField = new string[] { "Name" };
cSeries.YField = yFields;
// Configure: Column Series Tips
cSeries.Tips = new ChartTip();
cSeries.Tips.TrackMouse = true;
cSeries.Tips.Width = 140;
cSeries.Tips.Height = 28;
cSeries.Tips.Renderer.Handler = "this.setTitle(String(item.value[0]) + ': ' + String(item.value[1]));";
Last edited by Daniil; Nov 05, 2012 at 6:06 AM.
Reason: [CLOSED]