Search found 33 matches
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.
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 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.
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 ...
I seemed to have solved my problem for keeping axes isometric as a window is resized. I have attached a demo. Please let me know if you find a more efficient or more compact solution.
Thanks for your help,
Thanks for your help,
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.
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...
- Sun Oct 11, 2015 4:31 am
- Forum: Wishes and ideas
- Topic: Little mistake in the Help files
- Replies: 3
- Views: 12061
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.
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...
- Fri Oct 09, 2015 4:36 am
- Forum: VCL
- Topic: problem with calcXpos (also calcYpos)
- Replies: 2
- Views: 2041
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...
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...
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.
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...