Hi
How to add/Show custom value in tool tip on each bar series.
I am creating a series having multiple datapoints and want to show tooltip on each datapoint series with some custom value(i.g except..Xvalue/Yvalue/Marks'svalue/Label'sValue of datapoints)
fyr..below is my code which adding datapoints in series.
--------------------------------------------------
foreach (var point in qry)
{
yValue2 += point.YColumn2;
xValue = xValue + point.XColumn;
//seriesInc.Labels.Add(point.SkuID + "-" + point.Description);
seriesInc.Add(xValue, point.YColumn);
seriesCum.Add(xValue, yValue2);
//seriesInc.Tag = point.SkuID + "-" + point.Description;
}
seriesInc.Title = strTitle1 + SelectedUnitOfMeasure.UnitsOfMeasureName;
seriesInc.VertAxis = Steema.TeeChart.Silverlight.Styles.VerticalAxis.Left;
seriesCum.Title = strTitle2 + SelectedUnitOfMeasure.UnitsOfMeasureName;
seriesCum.VertAxis = Steema.TeeChart.Silverlight.Styles.VerticalAxis.Right;
seriesInc.Marks.Visible = false;
seriesCum.Marks.Visible = false;
----------------------------------------------------
In attached screen shot,tooltip is showing YValue(e.g 43.356), instead of it i want to show something "1-SKU1"
Please help in this.
Regards
Satyendra
Show custom value in tool tip on each bar series
Show custom value in tool tip on each bar series
- Attachments
-
- ScreenShot
- BarSeriesWithToolTip.png (44.75 KiB) Viewed 6857 times
Re: Show custom value in tool tip on each bar series
Hi Satyendra,
You can customize the MarksTip text as discussed here:
showing custom text unsing marksTip
If you need the series index and the value index to customize the text to show, you should use OnMouseMove event in a similar way than the exposed here:
Customizing MarksTip Tool
You can customize the MarksTip text as discussed here:
showing custom text unsing marksTip
If you need the series index and the value index to customize the text to show, you should use OnMouseMove event in a similar way than the exposed here:
Customizing MarksTip Tool
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |