-
Content Count
30 -
Joined
-
Last visited
-
Days Won
5
Everything posted by david berneda
-
Calling routines overhead
david berneda replied to PeaShooter_OMO's topic in RTL and Delphi Object Pascal
The "if" inside the "for" is also taking time. Try with 2 for loops, one for direct and another for indirect. Also the indirect routine could be marked as "inline" to eliminate the call. This is fine for short small routines. -
I guess most Delphi code is private, never available to AI agents to train, something like dark-matter or dark-energy. A pity 😓
-
New TeeBI demo, one line of code calls the Google Gemini api and imports the results into normal TeeBI structures. These data then can be simple visualized or queried. The idea is to add more AI agents (ChatGPT etc) transparently in the near future. https://github.com/Steema/TeeBI/tree/master/demos/3rd_party/AI uses BI.AI, BI.DataItem; procedure TForm_AI_Demo.Button1Click(Sender: TObject); var Data1 : TDataItem; begin // One line of code, call Gemini and get a data structure: Data1:=TBIAI.From('your key', 'Give me the list of the highest 10 mountains by elevation in csv format, just the list', TBIAI.GoogleGemini); // Visualize it: BIGrid1.Data:=Data1; // in the grid BIChart1.Data:=Data1; // in the chart end;
-
Full free sources of TeeBI data-mining and visualization components for RAD Studio 12.3 released. Includes also installer tool and demos. https://github.com/Steema/Steema-BI-Samples
-
TeeBI free full sources released
david berneda replied to david berneda's topic in Delphi Third-Party
🤣🤣 And a youtube video ! Clarity first ! -
TeeBI free full sources released
david berneda replied to david berneda's topic in Delphi Third-Party
Showcasing the TeeBI Query editor, drag and drop fields to create pivot tables of multiple dimensions, custom functions and features not available with SQL (like histograms, by code expressions, or using your functions and events to control the query "where/having" filters etc). Free and opensource: https://github.com/Steema/TeeBI -
Vcl DBChart Line Series Set Line Thickness
david berneda replied to Henry Olive's topic in General Help
Series1.LinePen.Width := 3; should work fine -
Chart Github users contributions with Delphi and TeeChart
david berneda posted a topic in Delphi Third-Party
Small example to access Github's contributions of a given user and display them using TeeChart. https://github.com/Steema/TeeChart-VCL-GitHub-Contributions This demo is made with VCL but almost identical code works in Firemonkey. -
Any VCL/FMX Gantt Chart or visual components that can have such functions
david berneda replied to ChrisChuah's topic in VCL
Just an alternative, TeeGrid can be used for gantt applications too. A customer from Canada recently sent us their app, the grid allows multiple top layers (columns and subcolumns, for year, month, date, etc) and rows (tasks) can contain children rows (unlimited levels, subtasks) with a "+" left column to expand / collapse. Tasks are then custom painted using the grid Canvas (Rectangle, Triangle, etc methods) using the columns coordinates. https://www.steema.com/product/gridvcl https://steema.com/wp/blog/2025/06/18/powering-precision-in-manufacturing-intelligence-dynafact-dms-with-teechart/ -
TeeBI free full sources released
david berneda replied to david berneda's topic in Delphi Third-Party
TeeBI is now available at GetIt for RAD Studio 12: https://getitnow.embarcadero.com/teebi/ The listed "category" needs to be fixed, its not a "Trial" version but a fully functional, free opensource component library. More advanced demos and the BIWeb server sources are located at GitHub. The same installer detects and compiles TeeBI for other RAD versions you might have installed in your system. -
Any VCL/FMX Gantt Chart or visual components that can have such functions
david berneda replied to ChrisChuah's topic in VCL
Hmm, I'm not sure if the free TeeChart Lite version has this, but sure the Pro version allows "sub axes" (what you say titles of 3 layers, are the TChart.Axes.Top (first layer with dates) and two sub axes added to it, one for hours, one for seconds. Cosmetics I think allow to match the screenshot with some customization, to some extent. Navigation (scroll, clicks, drag etc) are provided. More complex is (if I see the screenshot well) the ability to expand left side texts, like a tree/explorer of levels. It can also be done but its not as easy as a property or adding "children" rows to any row. -
Any VCL/FMX Gantt Chart or visual components that can have such functions
david berneda replied to ChrisChuah's topic in VCL
TeeChart includes a basic Gantt series style with some features (resizing and moving tasks, cursors etc) but maybe not as complex as the screenshot you posted. Axes left and top are fully capable though. https://www.steema.com/docs/teechart/vclfmx/tutorials/UserGuide/html/manu8nsk.htm -
TeeBI free full sources released
david berneda replied to david berneda's topic in Delphi Third-Party
Updated sources, and a new simple demo with minimal code, import data, query it and display results. Zero code if you do it at design-time. https://github.com/Steema/TeeBI/tree/master/demos/start_here -
You might try also the CompressionQuality property, 60% instead of 90% should reduce the size in bytes (losing quality of course) https://engineertips.wordpress.com/2021/11/27/delphi-resize-jpeg/ The Webp format is an alternative, it gets smaller size vs jpeg with the same quality, and there are Delphi libraries to do so in vcl (and fmx) https://github.com/Wykerd/delphi-webp
-
TeeBI free full sources released
david berneda replied to david berneda's topic in Delphi Third-Party
Python and R plugin units are now published: https://github.com/Steema/TeeBI/tree/master/deprecated/sources/algorithms License is MIT: https://github.com/Steema/TeeBI/blob/master/LICENSE -
TeeBI free full sources released
david berneda replied to david berneda's topic in Delphi Third-Party
Yes, the features that needed Python have been deprecated and are no longer needed. The documentation will be updated to reflect this. I can upload the deprecated units at a separate folder just to archive them. Maybe in the future if there is demand it can be restored. -
TeeBI free full sources released
david berneda replied to david berneda's topic in Delphi Third-Party
Oops, you mean plugin units, or demos? -
TeeBI free full sources released
david berneda replied to david berneda's topic in Delphi Third-Party
Yes ! it will be posted soon, most probably MIT -
Ribbon Framework for Delphi TRibbonApplicationModes
david berneda replied to Mark Williams's topic in Delphi Third-Party
-
Making both vertical axis visible at all times in TeeChart
david berneda replied to dummzeuch's topic in VCL
We're adding a new property to axes to achieve this functionality: Chart1.Axes.Left.AutoHide := False; By default AutoHide is True, meaning the axis will be automatically made invisible when all of its associated series are also invisible. Setting it to False will always paint the axis as if all of its series were visible. If the axis min and max are set to be automatic, they will be calculated using all associated series. If you wish to beta test I'll be glad to email you the latest sources, just email me at david@steema.com This new property will also allow adding multiple custom axes anywhere, without the need of creating series, among other things. regards ! david -
Overflow compiler checking is lost here.
-
I wish a compiler option to warn when calling class methods on instances instead of using the class type. Another one, hint when methods can be safely converted to class or class static.
-
I recently did a TeeChart fix to avoid creating its Windows Handle when just drawing it to a image without showing on screen. https://www.steema.com/bugs/show_bug.cgi?id=667 We posted a beta yesterday available for download, let me know if your colleague is interested in testing I'll provide a license. regards ! david
-
TO ChatGPT: In Delphi, is there any kind of an adapter or class that takes a TList<T> and makes it look like a TDataSet?
david berneda replied to David Schwartz's topic in Databases
If you need a Grid fmx/vcl to connect to TList of records etc, TeeGrid does it, without TDataset: https://github.com/Steema/TeeGrid-VCL-FMX-Samples/tree/master/demos/VirtualData/TList -
69999