Files to look at:
This example demonstrates how to display custom information from the underlying data source in a tooltip for every series point.
See also:
- E258;
- E2483;
- E2188.
Does this example address your development requirements/objectives?
(you will be redirected to DevExpress.com to submit your response)
Example Code
C#using System;
using System.Windows.Forms;
namespace CustomInfoInTooltips {
public partial class Form1 : Form {
public Form1() {
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e) {
// TODO: This line of code loads data into the 'nwindDataSet.Products' table. You can move, or remove it, as needed.
this.productsTableAdapter.Fill(this.nwindDataSet.Products);
chartControl1.Series[0].CrosshairLabelPattern = "Unit price: {UnitPrice}\r\n" +
"Units in stock: {UnitsInStock}\r\n" +
"Quantity per unit: {QuantityPerUnit}";
}
}
}