Search found 14 matches
- Wed Feb 01, 2012 9:23 am
- Forum: .NET
- Topic: Relative time axis + exotic calendar = divorce?
- Replies: 11
- Views: 10479
Re: Relative time axis + exotic calendar = divorce?
Hi Sandra Yes, I already fixed that one as well but it did not helped. I also tried to set the axis scale manually. But that helped neither... Any other idea? Thanks, Manuel for (int i = 0; i < 285; i++) { value += rand.NextDouble()-0.5; tChart1[0].Add(oadate, value); oadate += oneSecondIncr; } tCha...
- Tue Jan 31, 2012 4:15 am
- Forum: .NET
- Topic: Relative time axis + exotic calendar = divorce?
- Replies: 11
- Views: 10479
Re: Relative time axis + exotic calendar = divorce?
Hi Sandra
Thank you very much! Your solution seems to work well. If you could additionally tell me how to get the 00:00:00-Label back (see screenshot), it would even be perfect!
Manuel
Thank you very much! Your solution seems to work well. If you could additionally tell me how to get the 00:00:00-Label back (see screenshot), it would even be perfect!
Manuel
- Fri Jan 27, 2012 5:48 am
- Forum: .NET
- Topic: Relative time axis + exotic calendar = divorce?
- Replies: 11
- Views: 10479
Re: Relative time axis + exotic calendar = divorce?
Sandra, whether we insert the values as Oadate or DateTime does not matter to us nor the TChart. Our problem is, that there is no formatting string that allows us to display the total hours - that 1d 2h 30mins and 20 seconds are displayed as 26:30:20. We therefore need to overwrite the label texts b...
- Thu Jan 26, 2012 12:15 pm
- Forum: .NET
- Topic: Relative time axis + exotic calendar = divorce?
- Replies: 11
- Views: 10479
Re: Relative time axis + exotic calendar = divorce?
Hi Sandra Thank you for your suggestion. It actually solves the problem - but also creates a new one. Between the axis and the legend there is now a huge empty space. This lets shrink the height of the plot area considerably. The charts in our application are no longer readable at the minimal suppor...
- Wed Jan 25, 2012 12:20 pm
- Forum: .NET
- Topic: Relative time axis + exotic calendar = divorce?
- Replies: 11
- Views: 10479
Re: Relative time axis + exotic calendar = divorce?
Hi Sandra Please find attached the project. When you start the project you will see that there will be no labels along the x-Axis unless you resize the window. This is because "s" is used as DateFormatString which generates something like that: 2009-06-15T13:45:30. The wider the label text the fewer...
- Wed Jan 25, 2012 8:57 am
- Forum: .NET
- Topic: Relative time axis + exotic calendar = divorce?
- Replies: 11
- Views: 10479
Relative time axis + exotic calendar = divorce?
Hello Quite frequently we are using relative time axes in our software. As the time range can stretch over multiple days we are using the AxisDrawLabel event to reformat the labels in order to be able to show total hours instead of the hours of the day. To support cultures that use rather exotic cal...
- Thu Oct 07, 2010 5:33 am
- Forum: .NET
- Topic: Metafile height is always 65535
- Replies: 5
- Views: 4846
Re: Metafile height is always 65535
Hi Sandra
Please find attached a small project which demonstrates the issue.
Have fun!
Manuel
Please find attached a small project which demonstrates the issue.
Have fun!
Manuel
- Wed Oct 06, 2010 8:38 am
- Forum: .NET
- Topic: Metafile height is always 65535
- Replies: 5
- Views: 4846
Re: Metafile height is always 65535
Hi Sandra It seems, that the problem only occurs when a series contains values which would appear outside the chart's bounds. For example, if you add double.PositiveInfinite and double.NegativeInfinite values to an area series while setting the y-axis scale to 0...1 you should encounter the same iss...
- Tue Oct 05, 2010 2:56 pm
- Forum: .NET
- Topic: Metafile height is always 65535
- Replies: 5
- Views: 4846
Metafile height is always 65535
Hi
When I use the Metafile property of TChart I always get an image height of 65535 - regardless of the actual TChart size.
Any idea what could cause that?
The TeeChart version used is 2.0.2987.19069
Thank you for your help!
Best regards,
Manuel
When I use the Metafile property of TChart I always get an image height of 65535 - regardless of the actual TChart size.
Any idea what could cause that?
The TeeChart version used is 2.0.2987.19069
Thank you for your help!
Best regards,
Manuel
- Tue Sep 14, 2010 3:51 am
- Forum: .NET
- Topic: Chart Legend: Checkboxes not Clickable
- Replies: 8
- Views: 7845
Re: Chart Legend: Checkboxes not Clickable
Hi Yeray Unfortunately, the series click event causes the same problem. Based on the chart's MouseClick event and the Clicked method of the series it seems possible to implement a workarround: void tChart1_MouseClick(object sender, MouseEventArgs e) { Rectangle chartR = tChart1.Chart.ChartRect; if (...
- Mon Sep 13, 2010 10:39 am
- Forum: .NET
- Topic: Chart Legend: Checkboxes not Clickable
- Replies: 8
- Views: 7845
Re: Chart Legend: Checkboxes not Clickable
Hi Sandra Yeray's code is working fine. The problem is that we do not want to position the legend manually and that we need the series click event. As soon as you change those two things in Yeray's code it will expose the same issue as my code currently has. Please try out either the modified versio...
- Mon Sep 13, 2010 7:45 am
- Forum: .NET
- Topic: Chart Legend: Checkboxes not Clickable
- Replies: 8
- Views: 7845
Re: Chart Legend: Checkboxes not Clickable
Hi Yeray I am quite surprised that your example is working. I looked at the differences and figured out that two additional conditions must be met: There must be a handler for the ClickSeries event of the chart Legend.CustomPosition must be false Please find the modified code below. Best regards, Ma...
- Mon Sep 13, 2010 6:20 am
- Forum: .NET
- Topic: Chart Legend: Checkboxes not Clickable
- Replies: 8
- Views: 7845
Re: Chart Legend: Checkboxes not Clickable
Hi Yeray
Thank you for your message. Please find attached a small sample project which easily shows the issue described in my first post.
Best regards,
Manuel
Thank you for your message. Please find attached a small sample project which easily shows the issue described in my first post.
Best regards,
Manuel
- Thu Sep 09, 2010 11:17 am
- Forum: .NET
- Topic: Chart Legend: Checkboxes not Clickable
- Replies: 8
- Views: 7845
Chart Legend: Checkboxes not Clickable
Hi Toggling the visibility of certain series by using the corresponding checkboxes of the legend seems to fail under some special circumstances. Imagine a series gets (invisibly) painted even beyond the chart axes. If such a line crosses the location of a checkbox, this checkbox is no longer clickab...