Hi Massimo,
Greetings from Syncfusion.
We have achieved your requirement “Show second value for bubble type” with the help of PrepareStyle event in Windows Forms ChartSeries. Please find the code example below.
CodeSnippet:
chartSeries1.Style.TextOrientation = ChartTextOrientation.Up;
chartSeries1.PrepareStyle += ChartSeries1_PrepareStyle;
private void ChartSeries1_PrepareStyle(object sender, ChartPrepareStyleInfoEventArgs args)
{
ChartSeries series = sender as ChartSeries;
if (series != null)
{
args.Style.Text = "YValue:" + (series.Points[args.Index].YValues[0]).ToString()+ "\n" + "Size: "+ (series.Points[args.Index].YValues[1]).ToString();
args.Handled = true;
}
} |
Also, we have prepared the sample for your reference. Please find the sample from the below link.
Output:
Regards,
Yuvaraj.