![]() | Steema Issues DatabaseNote: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;otherwise you can use StackOverflow. Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy. |
| Summary: | Unable to locate Chart.Chart.Axes.Left.Title.Clicked(e.X, e.Y) on mouse moves over Y axis title string- need to show tooltip on Y axis title | ||
|---|---|---|---|
| Product: | .NET TeeChart | Reporter: | Rachana <rachna.81> |
| Component: | Axes | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | chris |
| Priority: | High | ||
| Version: | TeeChart for .Net 4.1.2016.05125 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
It is the main UI page. I am struggling to show tooltip on YAxes Title. It works on XAxis but it will look like a bug if I partially fix it on UI. There's a workaround to this problem which is to set the Title's Transparency to false, e.g.
TChart _tChart;
public Form1()
{
InitializeComponent();
_tChart = new TChart();
_tChart.Dock = DockStyle.Fill;
_tChart.Series.Add(typeof(Bar)).FillSampleValues();
_tChart.Axes.Left.Title.Transparent = false;
_tChart.Axes.Left.Title.Pen.Visible = false;
_tChart.Axes.Left.Title.Brush.Color = _tChart.Panel.Color;
_tChart.Axes.Left.Title.Text = "Y Axis Title";
_tChart.MouseDown += _tChart_MouseDown;
splitContainer1.Panel2.Controls.Add(_tChart);
}
private void _tChart_MouseDown(object sender, MouseEventArgs e)
{
if(_tChart.Axes.Left.Title.Clicked(e.Location))
{
MessageBox.Show("Clicked!");
}
}
We will confirm the fix to this issue soon.
We have now fixed this issue, and this fix will become available in the next public release on NuGet, due out shortly. |
I have to show tooltip on YAxis title on mouse move over title string. I supposed to get it done on Mouse Move with MouseEventArgs locating title by Chart.Chart.Axes.Left.Title.Clicked(e.X, e.Y) It works well to show tooltip on X axis title [e.g. Chart.Chart.Axes.Bottom.Title.Clicked(e.X, e.Y)] even works on Chart header [Chart.Chart.Header.Clicked(e.X, e.Y)] Chart.Chart.Axes.Left.Title.Clicked(e.X, e.Y) only not working to locate chart y axis title. Anyone has got such issue resolved then please share. private void OnChartMouseMove(object sender, MouseEventArgs e) { if (Chart.Chart.Axes.Left.Title.Clicked(e.X, e.Y)) { if (stateModified) ChangeMouseCursor(); ShowYAxesTitleTooltip(e); } } Note: I am using TeeChart version 4.1.2016.5122