Issue with MarksTip when used with Error series
Posted: Mon Aug 04, 2008 12:09 pm
Hi I am currently using version 3.2.2945.19737 of the TeeChart library.
There seems to be a bug in the way the MarksTip is displayed when used with error series. I created a very simple test project that contains the following:
- Line series (populated by line1.FillSampleValues(4); )
- 1 MarksTip tool configured to work on all series in the graph
- 1 error series populated like this:
Now that I have a line in the graph with a top error showing for each point, I want to be able to see the following with the MarksTip:
1) Mouseover the line to show the line point value (OK)
2) Mouseover a point of the line to show its value (OK)
3) Mouseover the error series to show its value (Not OK)
The third case is not working as it should because the markstip is not shown when dragging the mouse over the series. Please note that in my case, I will actually have 2 error series, one for the top error and one for the bottom since the values are different. Mousover any of these two should show the appropriate value.
So I can't see the MarksTip showing when hovering on the error series, but there is also another related issue. When dragging the mouse under the line of an error bar, even if very far from the actual error bar, the MarksTip is shown with the point value! So as long as the mouse is vertically aligned with the error bar, even if very far from the error bar, the MarksTip is displayed. This looks a little weird when the series is at the top of the graph and dragging the mouse at the bottom of the graph shows the markstips.
Could you please confirm that these are issues and could you tell me if you plan to fix them or how I could workaround them?
Thank you very much.
There seems to be a bug in the way the MarksTip is displayed when used with error series. I created a very simple test project that contains the following:
- Line series (populated by line1.FillSampleValues(4); )
- 1 MarksTip tool configured to work on all series in the graph
- 1 error series populated like this:
Code: Select all
error1.ErrorStyle = ErrorStyles.Top;
error1.ErrorWidth = 20;
error1.ErrorWidthUnits = ErrorWidthUnits.Pixels;
error1.MultiBar = MultiBars.None;
error1.Visible = true;
// Fill in error bars on the line series
for (int XValue = 0; XValue < line1.XValues.Count; ++XValue)
{
double YValue = line1.YValues[XValue];
error1.Add(XValue, YValue, 50);
}
1) Mouseover the line to show the line point value (OK)
2) Mouseover a point of the line to show its value (OK)
3) Mouseover the error series to show its value (Not OK)
The third case is not working as it should because the markstip is not shown when dragging the mouse over the series. Please note that in my case, I will actually have 2 error series, one for the top error and one for the bottom since the values are different. Mousover any of these two should show the appropriate value.
So I can't see the MarksTip showing when hovering on the error series, but there is also another related issue. When dragging the mouse under the line of an error bar, even if very far from the actual error bar, the MarksTip is shown with the point value! So as long as the mouse is vertically aligned with the error bar, even if very far from the error bar, the MarksTip is displayed. This looks a little weird when the series is at the top of the graph and dragging the mouse at the bottom of the graph shows the markstips.
Could you please confirm that these are issues and could you tell me if you plan to fix them or how I could workaround them?
Thank you very much.