First - apologies for what is probably a dumb question. So thanks in advance for your help on the forum. Second - in C++/VCL how do I determine the axis-based coordinates of a mouse click in a chart? That's to say, not the cursor coordinates on the Chart object itself (which start at 0,0 top-left) b...
Hi philip, Really? That's strange, it works fine for me here in v8 directly referencing the sources from Delphi. You could try adding the source code path at Tools -> Options -> Environment Options -> Delphi Options -> Library - Win32 -> Library path. Does this work for you? Paths were ok. I purged...
Hi philip, Continuing with what I said above, we decided to add a new property to THistogramFunction called DataStyle of type TDataStyle which is an enum with those possible values: hdsTruncate and hdsRound; the first one being the default value. So, from now on, by default, you'll get histograms c...
Do you have any Delphi version for trying the project I attached and check if it works fine for you? At the URL below you can download the exe I generated with my sample project. Can you please check if it works as expected at your end? yes (RAD 2009). I was just looking at it just now. It compiles...
Hi Philip, Yes, I know Round is still in Histogram method. However, there have been some recent changes in TeeHistogram.pas. Have you received the file I sent you? Does this work as expected? Yes, I received the TeeHistogram.pas file you sent as an attachment. It is identical to the one in the VCL ...
I'm using Release Notes 13th April 2010 TeeChart VCL version 8 Build 8.07.70413 In that source package, TeeHistogram.pas is definitely using Round(). I was aware of TV52012772. I have downloaded TeeChart8.07SourceCode.exe April 13, 2010 Build 8.07.70413 File size - 6,61 MB again just now. The Round(...
The source of the discrepancy is in the binning algorithm of TeeHistogram.pas. In procedure Histogram(Data: TChartValues; var bins,counts: TChartValues; Min,Max: Double; nbins: Integer); the use of Round() function seems to me to be inappropriate. Round() probably uses Banker's rounding which means ...
I'd appreciate some insight into why there is such a discrepancy between data binned by THistogramFunction and MATLAB's binning. The attached code uses my own method for binning (a standard method) which reproduces MATLAB output exactly. The differences are even more remarkable and disconcerting whe...
i notice the original question mentioned matlab's hist() function. i am perplexed as to why THistogramFunction produces results that are very different from matlab's hist(). does anyone know why? (i have been playing with 6500 data points, trying to figure out why my polar plots in TChart 8.07 are s...
is there a complete c/c++ example of how to implement a custom function? my delphi-to-c++ skills are too poor on syntax etc to proceed. i've found several snippets, including http://www.steema.com/files/public/teechart/java/v1/docs/Tutorials/tutorial7.htm#DerivingVCL and http://www.berneda.com/teech...
I can't figure out how to read the calculated values from a histogram. The following would loop through each bin for( int j = 0; j < dynamic_cast< THistogramFunction * >( c -> Series[ 1 ] -> FunctionType ) -> NumBins; j ++ ) ?????; but how do i now read the function's values using index j? In ChartE...
this doesn't work - the tee8new.exe application is looking for pascal/delphi files. although the zip you sent me contains .cpp files - presumably for v801 - the .exe doesn't pick them up for viewing
hello - unfortunately TeeChart8.01Delphi2007.exe won't install anything unless delphi/builder 2007 is installed on the machine, and i don't have this - i'm using builder5.1 therefore the closest that i have to what you refer to is C:\Program Files\Steema Software\TeeChart 80 for Builder 5\Examples\F...
i've downloaded the sources for 8.01, compiled and installed packages ok. i then downloaded the Tee8New.exe application from the binaries section, but am unable to configure it to point to the relevant source code. i presume i have to download the VCL demos sources as well, but can't find them. wher...