Search found 19 matches

by dpatch
Mon Aug 11, 2014 3:11 pm
Forum: VCL
Topic: Poly Line Drawing
Replies: 9
Views: 14423

Re: Poly Line Drawing

Yeray, I will give them a try here, but expect the same results you got. I did some further investigation and found that I moved from TCharts V8.05.50522 to a version of TCharts 2013 when I moved to Delphi XE3. I dusted off an old computer and the Line & PolyLine methods as well as setting the color...
by dpatch
Mon Aug 11, 2014 2:59 pm
Forum: VCL
Topic: Line drawing
Replies: 16
Views: 29292

Re: Line drawing

Yeray, This is EXCELLENT! This fixed the problem. Thank you so much!! I still have an issue with the PolyLine method, (see Poly Line post), but I can implement my own PolyLine method using the Line method for now. I have modified the TSurfa.pas code and have this working. I assume this fix will find...
by dpatch
Fri Aug 08, 2014 7:10 pm
Forum: VCL
Topic: Line drawing
Replies: 16
Views: 29292

Re: Line drawing

Yeray, OK, I attached a small project showing my inability to change the color palette. This code used to work, and every once in a while I make a change in the chart editor that causes the color on either the plot or the legend to change and be correct. But, it is not repeatable. Once it changed th...
by dpatch
Fri Aug 08, 2014 4:13 pm
Forum: VCL
Topic: Poly Line Drawing
Replies: 9
Views: 14423

Re: Poly Line Drawing

I'm sorry if I seem frustrated. It's just that I can no longer support my clients with this version 2014 or 2013 of TCharts. At some point I in the upgrade process (I thought it was version 2013) I began having trouble drawing on the chart with both the Line method (see my earlier post) and the Poly...
by dpatch
Fri Aug 08, 2014 1:44 pm
Forum: VCL
Topic: Poly Line Drawing
Replies: 9
Views: 14423

Re: Poly Line Drawing

I'm not sure I totally understand your last post. This used to work prior to version 2013... I tried switching from GDI+ to GDI but when I did, nothing was drawn. No other changes were made. When I switched it back the old behavior resumed, meaning lines were not XOR'd off the canvas. When you looke...
by dpatch
Thu Aug 07, 2014 3:39 pm
Forum: VCL
Topic: Poly Line Drawing
Replies: 9
Views: 14423

Re: Poly Line Drawing

Attached is a very small application that demonstrates the problem.

Thanks
Chart.zip
(81.02 KiB) Downloaded 814 times
by dpatch
Thu Aug 07, 2014 2:10 pm
Forum: VCL
Topic: Line drawing
Replies: 16
Views: 29292

Re: Line drawing

Well I guess I could, but I am sure that If I write a small app it may work. There is something in the order of events in my current app that is causing the palette to be reinitialized to the default. Can you tell me where in your code this initialization occurs?

Thanks
by dpatch
Wed Aug 06, 2014 10:45 pm
Forum: VCL
Topic: Poly Line Drawing
Replies: 9
Views: 14423

Poly Line Drawing

I decided to start another thread different from the "Line Drawing" thread. This one relates to the Canvas.PolyLine method instead of the Canvas.Line method. I am using TChart Pro version 2014.11.140512 32 bit VCL. Again, this code used to work before upgrading to version 2013...... I collect a set ...
by dpatch
Wed Aug 06, 2014 2:53 pm
Forum: VCL
Topic: Line drawing
Replies: 16
Views: 29292

Re: Line drawing

OK, I have worked through all the issues except the color palette. Before installing the latest update, my image was drawn as shown above. Now, without code change, the image color is drawn as shown here: Image Color.jpg What do you think changed? I call ClearPalette and AddPalette the same as I alw...
by dpatch
Wed Aug 06, 2014 12:48 pm
Forum: VCL
Topic: Line drawing
Replies: 16
Views: 29292

Re: Line drawing

OK, I uninstalled 2014 and reinstall it and this fixed the install problem. And, more importantly, the new version also fixed the line drawing problem.

It also made some unexpected changes to my color palette. I will look into that and ask further question if needed.

Thanks again!!
by dpatch
Wed Aug 06, 2014 12:37 pm
Forum: VCL
Topic: Line drawing
Replies: 16
Views: 29292

Re: Line drawing

Thanks again for you response. I downloaded the latest version and installed it. When I open the project I get the following errors. I first get this one: First Load Error.jpg I then get this one: Second Load Error.jpg Any thoughts? I think I have all the paths correct, but I must not. Can you advis...
by dpatch
Mon Aug 04, 2014 11:22 pm
Forum: VCL
Topic: Polar Series
Replies: 11
Views: 19385

Re: Polar Series

Sandra, I truely appreciate you reply. I have read the documents regarding how to speed up the plotting and honestly they are of little help. These are the same documents that you have referenced for years. If you put a lot of data into this type of plot you will quickly see my point. I think you ca...
by dpatch
Mon Aug 04, 2014 1:02 pm
Forum: VCL
Topic: Line drawing
Replies: 16
Views: 29292

Re: Line drawing

Sandra, Thanks for your response. I am a source code client using TeeChart Pro v2013 32 bit. My application is now exactly like the code you have in this post. When I move the mouse, the old lines still are not removed. I have attached a screen shot showing my issue. This image was drawn on a TColor...
by dpatch
Fri Aug 01, 2014 9:51 pm
Forum: VCL
Topic: Line drawing
Replies: 16
Views: 29292

Re: Line drawing

Does anyone have any idea how to XOR a line on the a ColorGridSeries? This used to work and no longer seems to.

Thanks in advance!
by dpatch
Thu Jul 31, 2014 2:03 pm
Forum: VCL
Topic: Line drawing
Replies: 16
Views: 29292

Line drawing

I have simple code in the mouse down event that saved the x/y position than in the mouse move event, erase the old line and draw a new one to the new point, giving a rubber band effect. I am drawing the line on an image so I have to XOR the line on and off the image instead of just clearing the canv...