Search found 23 matches
- Tue Aug 19, 2008 1:19 pm
- Forum: .NET
- Topic: Customize the colors of hatchStyle ?
- Replies: 1
- Views: 4563
Customize the colors of hatchStyle ?
Hi I use a SeriesRegionTool like this : SeriesRegionTool tool = new SeriesRegionTool(senderChart.Chart); tool.Active = true; tool.AutoBound = false; tool.Color = Color.Black; tool.DrawBehindSeries = true; tool.Series = mRawDataSerie; tool.Origin = senderChart.Axes.Left.Minimum; tool.LowerBound = sta...
- Tue Aug 19, 2008 9:30 am
- Forum: .NET
- Topic: how do I know the color of a pixel in a tchart ?
- Replies: 1
- Views: 4426
how do I know the color of a pixel in a tchart ?
Hi, To write an automated test, I would like to be able to determine by the code the color of a pixel in the chart area. Is this possible to do this? (My aim is to see if line has been well drawn by my program that uses a LineTo() function). I have seen a function "Pixel()" in Graphics3D that enable...
- Thu Jan 12, 2006 10:57 am
- Forum: .NET
- Topic: ChartRect not updated ?
- Replies: 1
- Views: 4858
ChartRect not updated ?
Hi, I am using Tchart in my application (version of my TeeChart.dll is 1.1.1769.19457). I have some unit tests written with NUnitForms that perform tests on my application. From my tests, I have a problem with the chartRect of a chart not updated. When I get this chartRect from my code, I always get...
- Wed Jul 06, 2005 1:20 pm
- Forum: .NET
- Topic: Changing cursor shape in some teechart parts
- Replies: 2
- Views: 6020
- Wed Jul 06, 2005 8:44 am
- Forum: .NET
- Topic: Changing cursor shape in some teechart parts
- Replies: 2
- Views: 6020
Changing cursor shape in some teechart parts
Hi,
I draw some rectangles directly on the chart canvas in the afterdraw event of my chart (using Graphics3D class).
I would need to change the cursor shape to cursors.hand when the mouse is over one of the rectangles.
Is it possible to do that, and how ?
Thanks by advance,
Verane.
I draw some rectangles directly on the chart canvas in the afterdraw event of my chart (using Graphics3D class).
I would need to change the cursor shape to cursors.hand when the mouse is over one of the rectangles.
Is it possible to do that, and how ?
Thanks by advance,
Verane.
- Mon Jun 06, 2005 7:51 am
- Forum: .NET
- Topic: How to simulate a zoom from the code ?
- Replies: 5
- Views: 9759
Hi Narcis, Thanks again for your reply. About the meaning of 'setMinMax' in VCL, you were right, it is the same behaviour as in .NET. I believed it was different, but I discover that in VCL we were obliged to derived the TeeChart to implement the functionnality that we want. Before doing that again ...
- Thu Jun 02, 2005 11:41 am
- Forum: .NET
- Topic: How to simulate a zoom from the code ?
- Replies: 5
- Views: 9759
Hi Narcis, Thanks for your answer. But I don't think this could really work in my case. I want that the chart behaves exactly the same way as if I had done the zoom with the mouse. With your suggestion, the problem is that the chart set back to the absolute scale (0-1000) as soon as I click on the c...
- Thu Jun 02, 2005 9:48 am
- Forum: .NET
- Topic: How to simulate a zoom from the code ?
- Replies: 5
- Views: 9759
How to simulate a zoom from the code ?
Hi, I want to simulate that a user has made a zoom in a chart from the code. For example, the Y scale goes from 0 to 1000, and when clicking on a button, I want it to go from 0 to 500, as if the user had made a zoom with the mouse. I managed to do this by writing this piece of code in the event hand...
- Wed Apr 06, 2005 3:41 pm
- Forum: .NET
- Topic: Getting ChartRect.Top and ChartRect.Right ?
- Replies: 1
- Views: 12162
Getting ChartRect.Top and ChartRect.Right ?
Hi, I want to text out a string on the right top corner of my TeeChart. Here is how I would have implemented it : private void afterDrawChart(object sender, Steema.TeeChart.Drawing.Graphics3D g) { int title_width = (int) mChart.Graphics3D.TextWidth("Mon titre"); int x = mChart.Chart.ChartRect.Right ...
- Thu Jan 20, 2005 4:02 pm
- Forum: .NET
- Topic: Hide horizontal and vertical lines ?
- Replies: 1
- Views: 5327
Hide horizontal and vertical lines ?
Hi,
How is it possible to hide horizontal and vertical lines that are drown by default under a chart ?
Regards,
Verane.
How is it possible to hide horizontal and vertical lines that are drown by default under a chart ?
Regards,
Verane.
- Wed Jan 19, 2005 4:09 pm
- Forum: .NET
- Topic: Changing Backcolor only between axis ?
- Replies: 1
- Views: 5659
Changing Backcolor only between axis ?
Hi, I would like to change the background color of my chart but only the part that is inside the axis. Changing 'BackColor' changes the color of all the panel. How can I only change the part between axis ? I used to do that for the vcl chart for Delphi7 using Backwall color, but I cannot find this p...
- Fri Sep 10, 2004 9:18 am
- Forum: VCL
- Topic: scale problem on bottom axis (overlap)
- Replies: 21
- Views: 36784
- Wed Sep 08, 2004 11:50 am
- Forum: VCL
- Topic: scale problem on bottom axis (overlap)
- Replies: 21
- Views: 36784
- Fri Sep 03, 2004 11:53 am
- Forum: VCL
- Topic: scale problem on bottom axis (overlap)
- Replies: 21
- Views: 36784
- Fri Sep 03, 2004 8:22 am
- Forum: VCL
- Topic: scale problem on bottom axis (overlap)
- Replies: 21
- Views: 36784