Hi
I am having some trouble with TeeChart.
I have a graph, with a Gantt series. The series as a list of tasks - works fine.
Instead of showing the Marks on the tasks, I would like to show them on mouse over.
So I added the Tools.MarkTips, and it also works - kind of.
The correct text is shown, but it triggers the Click event on mouse over???
Is there any workaround for this problem? A sample can be provided if necessary.
Im using TeeChart v. 3.5.3274.30663 on XP with .Net Framework 2 + 3.0 + 3.5
Kind regards
Soren Bendtsen
ToolTip mouse move/mouse click
-
- Newbie
- Posts: 18
- Joined: Fri Nov 02, 2007 12:00 am
- Contact:
Hi Soren,
Yes, I think that this example would help us a lot in the task of identifying the problem because this code seems to work fine for me here:
You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
Yes, I think that this example would help us a lot in the task of identifying the problem because this code seems to work fine for me here:
Code: Select all
private void InitializeChart()
{
Gantt gantt1 = new Gantt(tChart1.Chart);
gantt1.FillSampleValues(10);
MarksTip markTips1 = new MarksTip(tChart1.Chart);
markTips1.Series = gantt1;
tChart1.Click += new EventHandler(tChart1_Click);
gantt1.Click += new MouseEventHandler(gantt1_Click);
}
void gantt1_Click(object sender, MouseEventArgs e)
{
tChart1.Header.Text = "Series Clicked!";
}
void tChart1_Click(object sender, EventArgs e)
{
tChart1.Header.Text = "Chart Clicked!";
}
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
-
- Newbie
- Posts: 18
- Joined: Fri Nov 02, 2007 12:00 am
- Contact:
Sample for Gantt series and ToolMarks
Hi Yeray,
I upload two samples using your upload page.
TeeChartGanttSample.zip and TeeChartGanttSampleWorkAround.zip - I entered Soren Bendtsen as name, not sure how to link to it.
The workaround is using a boolean to save if the Click event is fired previously to the ClickPointer event.
Kind regards,
Soren
I upload two samples using your upload page.
TeeChartGanttSample.zip and TeeChartGanttSampleWorkAround.zip - I entered Soren Bendtsen as name, not sure how to link to it.
The workaround is using a boolean to save if the Click event is fired previously to the ClickPointer event.
Kind regards,
Soren
Hi Soren,
Yes, it seems that having a gantt with a MarksTip Tool linked to the gantt, the gantt's event OnClickPointer is fired every time the mouse moves over a gantt, event without click on the series. I've added it to the wish list to be fixed in future releases (TF02013998).
Yes, it seems that having a gantt with a MarksTip Tool linked to the gantt, the gantt's event OnClickPointer is fired every time the mouse moves over a gantt, event without click on the series. I've added it to the wish list to be fixed in future releases (TF02013998).
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
-
- Newbie
- Posts: 18
- Joined: Fri Nov 02, 2007 12:00 am
- Contact:
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Soren,
There's not a specific bug tracking system. However you can check the release notes on each release announcement in this forum or subscribe to our RSS news feed for automatic announcements.
You can also ask on the forums board for specific issues status.
There's not a specific bug tracking system. However you can check the release notes on each release announcement in this forum or subscribe to our RSS news feed for automatic announcements.
You can also ask on the forums board for specific issues status.
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 |