Search found 53 matches

by dpatch
Wed Jan 28, 2009 6:22 pm
Forum: VCL
Topic: tVideoTool.GetCompressor error
Replies: 10
Views: 14355

OK, I have tested it and I do not think it works. Some comments... 1. In file TeeVideo.pas, procedure SetCompression after calling GetCompressors, you only compare the 1st 4 characters of the compressor strings returned to the value passed in. This will never result in a "True" comparrison if the wh...
by dpatch
Wed Jan 28, 2009 4:26 pm
Forum: Wishes and ideas
Topic: Export to DXF Format
Replies: 6
Views: 39742

Would it also be possible to import a AutoCAD drawing file and possibly display it in a series? I would like to overlay a line drawing on an image displayed on a TColorGridSeries.
by dpatch
Wed Jan 28, 2009 3:38 pm
Forum: VCL
Topic: tVideoTool.GetCompressor error
Replies: 10
Views: 14355

Thanks. I just installed the latest binaries installed. I will get the source compiling and test it today!

Thanks.
by dpatch
Fri Jan 16, 2009 2:59 pm
Forum: VCL
Topic: Getting pixel values from axis label values
Replies: 34
Views: 34876

I am going to down load it now. Thanks!
by dpatch
Fri Jan 16, 2009 2:53 pm
Forum: VCL
Topic: Getting pixel values from axis label values
Replies: 34
Views: 34876

Narcis, This is it! This is exactly what I've been trying to do for months! You guys are great...VERY responsive. I looked for the toturials and I found I am missing a file, TeeChart8Manual.chm. I need to upgrade anyways so I am sure I will get it installed then. Again, thank you very much for your ...
by dpatch
Thu Jan 15, 2009 5:02 pm
Forum: VCL
Topic: Getting pixel values from axis label values
Replies: 34
Views: 34876

This looks very promising! Is there a way make the bottom and left axis labels look like the ones you put on the right and top? Or, can I swap them and hide the right and top? Meaning if I put my values into the top and right and do what you did for the bottom and left. It all looks great if I hide ...
by dpatch
Thu Jan 15, 2009 4:23 pm
Forum: VCL
Topic: Getting pixel values from axis label values
Replies: 34
Views: 34876

Outstanding!

I dont know why I wasn't able to do what you did with the top and bottom axis. That is all I really need to do with the bottom and left.

I will continue to look at what you sent, but it looks really good.

Thank you very much for your support.
by dpatch
Wed Jan 14, 2009 3:57 pm
Forum: VCL
Topic: Getting pixel values from axis label values
Replies: 34
Views: 34876

I have recieved your code changes and looked at them. I think maybe I have not made my problem understood. What I am doing is generating an image of a target and measuring the distance of its features in feet from the center. That is why I need to change the axis values to make zero at the center. O...
by dpatch
Wed Jan 14, 2009 1:49 pm
Forum: VCL
Topic: Getting pixel values from axis label values
Replies: 34
Views: 34876

Thank you for your quick response. You are correct, RTInumbers do NOT have an impact on this issue. I tried to remove unnecessary code when I cut and pasted from a larger project. I just missed that one. Your explaination is very clear. I will give it a try and let you know how it goes. Thanks again!
by dpatch
Tue Jan 13, 2009 6:18 pm
Forum: VCL
Topic: Getting pixel values from axis label values
Replies: 34
Views: 34876

Hello, it has bee a while. I am still unable to translate point values from the axis labels I created to pixel values on the screen so I can re-draw my polygons. I have posted a simplified example on the upload page link you supplied earlied in this thread. It is called "Image Test 2.zip". There are...
by dpatch
Thu Sep 18, 2008 3:49 pm
Forum: VCL
Topic: Getting pixel values from axis label values
Replies: 34
Views: 34876

Your last answer is what I suspected. And, I agree that an "in-chart" solution to calculate the nearest axis Label index (or value) from an x,y point is a necessary function due to the inefficiencies of the chart when IrregularGrid is true. Also, given an axis label value, calculating the nearest x,...
by dpatch
Wed Sep 17, 2008 4:49 pm
Forum: VCL
Topic: Getting pixel values from axis label values
Replies: 34
Views: 34876

I want to be sure that I understand exactly what you are saying. I agree that CalcPosPoint is returning the axis values I put in using the Chart1.Series[index].AddXYZ method. Using that method because I have IrregularGrid set to false, I just increment a counter for the X and Z values. So, CalcPosPo...
by dpatch
Fri Sep 12, 2008 1:12 pm
Forum: VCL
Topic: Getting pixel values from axis label values
Replies: 34
Views: 34876

Sorry to be a bother, I know you are busy. But did you receive the example code that I posted for you? Can you rebuild it and is it self explanitory enough?

Thanks
by dpatch
Wed Sep 10, 2008 6:30 pm
Forum: VCL
Topic: Getting pixel values from axis label values
Replies: 34
Views: 34876

OK, I sent a zip file with sample code to your upload site called "Image Test.zip".

I build this with Delphi 2006.

Let me know if you have any questions...

Thanks!
by dpatch
Wed Sep 10, 2008 2:00 pm
Forum: VCL
Topic: Getting pixel values from axis label values
Replies: 34
Views: 34876

Yes, I will try to, but it is quite a lot of code... It seems that the disconnect is between the values I load into the axis using: Chart1.Series[SIndex].AddXYZ(i+1, DblImageData[i,j], j+1) and the values I load into the x axis labels using: Chart1.Axes.Bottom.Items.add(i,Format('%-.2f',[x])) The co...