Search found 33 matches

by fjrohlf
Tue Nov 17, 2015 1:08 pm
Forum: VCL
Topic: dialog box for plot symbols?
Replies: 4
Views: 2941

Re: dialog box for plot symbols?

ok thanks I will look at it.
by fjrohlf
Tue Nov 17, 2015 12:58 am
Forum: VCL
Topic: dialog box for plot symbols?
Replies: 4
Views: 2941

Re: dialog box for plot symbols?

Thanks but that is too much for what I want. I think it might overwhelm users with too many options. I would just like to display something that allows the selection of the symbol and its color and size. It might be possible to extract that form the TeePoEdi.pas unit but I do not have the source code.
by fjrohlf
Thu Nov 12, 2015 7:37 pm
Forum: VCL
Topic: dialog box for plot symbols?
Replies: 4
Views: 2941

dialog box for plot symbols?

I would like to display a dialog box to enable an end user to select the point symbols they would like to have used in a chart. Is there one within TeeChart? If not, is there a convenient source for the bitmaps for the symbols so I can create my own dialog?

Thanks,
by fjrohlf
Mon Oct 19, 2015 2:03 pm
Forum: VCL
Topic: iso axes but also scaled
Replies: 21
Views: 15035

Re: iso axes but also scaled

Thanks but it is difficult to measure whether an angle is exactly 45 degrees. It is easier to measure whether a vertical and a horizontal line that should be equal in length actually are equal in length. That is what I have been doing to test.
by fjrohlf
Fri Oct 16, 2015 9:15 pm
Forum: VCL
Topic: iso axes but also scaled
Replies: 21
Views: 15035

Re: iso axes but also scaled

Always one more change. What I sent is not exactly correct. If one makes the window very large and measures it one will see that it is not exactly isometric. This is because the chart margins are expressed as percentages. Thus the margins will change as one adjusts the size of the plot. Setting the ...
by fjrohlf
Fri Oct 16, 2015 12:54 am
Forum: VCL
Topic: iso axes but also scaled
Replies: 21
Views: 15035

Re: iso axes but also scaled

I seemed to have solved my problem for keeping axes isometric as a window is resized. :D I have attached a demo. Please let me know if you find a more efficient or more compact solution.

Thanks for your help,

Jim
by fjrohlf
Thu Oct 15, 2015 1:31 pm
Forum: VCL
Topic: iso axes but also scaled
Replies: 21
Views: 15035

Re: iso axes but also scaled

I may be getting to a solution. I can find the size of all that extra stuff by comparing chart1.width with chart1.chartwidth and chart1.height with chart1.chartheight. Then I need to find out how make the chartwidth and chartheight proportional to the scale of my data and fill the window efficiently.
by fjrohlf
Thu Oct 15, 2015 4:10 am
Forum: VCL
Topic: iso axes but also scaled
Replies: 21
Views: 15035

Re: iso axes but also scaled

Sorry, but not quite yet. One thing that would help would be to tell me that given a certain axis lengths (found using the chart1.ChartRect in your example) how wide and tall the resulting chart will be in pixels (when including the axes labels and titles and the legend if it is visible). I could th...
by fjrohlf
Sun Oct 11, 2015 4:31 am
Forum: Wishes and ideas
Topic: Little mistake in the Help files
Replies: 3
Views: 12061

Re: Little mistake in the Help files

I found the same problem in the current help file. In addition, the type seems to be define with 16 items rather than the 12 or 14 mention in the help file. Unfortunately I do not have the source code to check what the definition really is.
by fjrohlf
Sat Oct 10, 2015 1:31 am
Forum: VCL
Topic: problem with calcXpos (also calcYpos)
Replies: 2
Views: 2041

Re: problem with calcXpos (also calcYpos)

That works! Thank you very much.
by fjrohlf
Sat Oct 10, 2015 1:26 am
Forum: VCL
Topic: iso axes but also scaled
Replies: 21
Views: 15035

Re: iso axes but also scaled

Perhaps it will be more clear with a simple example. See the attached ZIP file. It plots x and y axes for data where x ranges from 0 to 4 but y only ranges from 0 to 2. Note that with the checkbox checked one can resize the window and the plot will fill as much of the window as it can while still ke...
by fjrohlf
Fri Oct 09, 2015 4:36 am
Forum: VCL
Topic: problem with calcXpos (also calcYpos)
Replies: 2
Views: 2041

problem with calcXpos (also calcYpos)

I need to draw a line using coordinates from a series of x,y points. The plot is fine but my attempt to draw a line fails when I use code like the following: x1 :=Seriesxy.CalcXPos( ii-1 ); y1 :=Seriesxy.CalcYPos( ii-1 ); x2 :=Seriesxy.CalcXPos( jj-1 ); y2 :=Seriesxy.CalcYPos( jj-1 ); chart.Canvas.L...
by fjrohlf
Sat Oct 03, 2015 7:50 pm
Forum: VCL
Topic: iso axes but also scaled
Replies: 21
Views: 15035

Re: iso axes but also scaled

Unfortunately, still a problem. I need to know some more parameters before I can modify your code to do what I want. I guess it is a little hard to describe. I will try again. In your example if i click iso and then resize I get the first part of what I want. I then need to adjust the Tchart compone...
by fjrohlf
Tue Sep 29, 2015 3:37 pm
Forum: VCL
Topic: iso axes but also scaled
Replies: 21
Views: 15035

Re: iso axes but also scaled

Getting closer. I will see if I can modify this new version to do what I want. Make iso would be ok if it shrunk the size of the teechart component to be just a little larger than what is actually used to display the plot.

Thanks,
Jim
by fjrohlf
Sat Sep 26, 2015 5:44 pm
Forum: VCL
Topic: iso axes but also scaled
Replies: 21
Views: 15035

Re: iso axes but also scaled

I have attached an example. Note all the uninformative regions to the left of 0.0 and right of 1.0. What I want is for the window to be constrained so that those areas need not be plotted. In the present example it means that the plotting canvas needs to be constrained so it is twice as wide as high...