Hi Narcis
I would like to do something like the following:
Hover the mouse over a box in the box plot and display information in a large tool tip window. Example of information to be displayed would be a summary of information on the box series, e.g. median, minimum, and maximum values, number of observations, mean value. Some of the information would be available from the box series and some from other sources.
Any suggestions of how this should be done?
Thanks
jenb
Tool Tip for Box Plot
Re: Tool Tip for Box Plot
I think that the mark tip tool can be used to do what I want. However with the box series the mark tip seems to only be displayed when the mouse is right at the minimum point of the series. Ideally the mark tip would be displayed when the mouse is over any point in the series. Any suggestions? I have version 3.5.3330.21114.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Tool Tip for Box Plot
Hi jenb,
You can retrieve BoxPlot data as in the example I posted here.
Regarding BoxPlot mouse hovering, you can use Box series Clicked method, for example:
You can retrieve BoxPlot data as in the example I posted here.
Regarding BoxPlot mouse hovering, you can use Box series Clicked method, for example:
Code: Select all
private Steema.TeeChart.Styles.Box box1;
private void InitializeChart()
{
box1 = new Steema.TeeChart.Styles.Box(tChart1.Chart);
box1.FillSampleValues();
tChart1.MouseMove += new MouseEventHandler(tChart1_MouseMove);
}
void tChart1_MouseMove(object sender, MouseEventArgs e)
{
if (box1.Clicked(e.X, e.Y) != -1)
{
this.Text = "box clicked";
}
else
{
this.Text = "box NOT clicked!!";
}
}
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: Tool Tip for Box Plot
Hi Narcis
I tried your suggestion with the OnMouseMove event however it seems that
Regards
jenb
I tried your suggestion with the OnMouseMove event however it seems that
is true any time the mouse moves over any of the three box series on the chart. The same happens when I set up OnMouseEnter or OnMarkTipGetText events for the separate box series. Even though an event is attached to only 1 series it can be triggered by the mouse moving over any of the box series.(box1.Clicked(e.X, e.Y) != -1)
Regards
jenb
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Tool Tip for Box Plot
Hi jenb,
I could reproduce the issue here and added it (TF02014239) to the defect list to be fixed for next releases.
I could reproduce the issue here and added it (TF02014239) to the defect list to be fixed for next releases.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |