Pep Posted September 20, 2021 Posted September 20, 2021 Google Charts in uniGUI Hello, I have published in github my components to generate charts in uniGUI using de Google Charts API. The components support the following types: Annotation Area Bar Bubble Calendar Candlestick Column Combo Diff Donut Gantt Gauge Geo Histogram Intervals Line Organization Pie Sankey Diagram Scatter Stepped Area Table Timeline Tree Maps Trendlines Waterfall Word Trees The library includes in demos folder the GChartsDemo project with several examples that show how to build the different class charts. When running the demo you can: Display the Delphi Code used to generate the Chart Click Google Guide button to see the official documentation of Google Charts. Click on the Chart to see fired events (new) Click on Print button to print current frame with the chart/charts: You can get the source code in https://github.com/JosepPages7/Delphi-GCharts Please, if you use or like Delphi GCharts, "Star" this project in GitHub! 9 1 2 Quote
zemorango Posted September 20, 2021 Posted September 20, 2021 @Pep this is super works, thanks bro 😀 Quote
picyka Posted September 21, 2021 Posted September 21, 2021 I was having a joke here, without a doubt the best graphics option we have today for unigui, I say that in relation to linked. Quote
Roberto Nicchi Posted October 3, 2021 Posted October 3, 2021 Just found this. Thanks a lot. Great work. Quote
Sherzod Posted October 18, 2021 Posted October 18, 2021 7 minutes ago, leons said: The demo is broken.. On 9/20/2021 at 1:17 PM, Pep said: this link will be active during a short period time Quote
Pep Posted October 18, 2021 Author Posted October 18, 2021 4 hours ago, leons said: Hi Pep, The demo is broken.. Hello, the demo is active again! Quote
Tokay Posted October 18, 2021 Posted October 18, 2021 What about license for Google Charts? Does it possible to use it in the commercial projects? Quote
Pep Posted October 19, 2021 Author Posted October 19, 2021 9 hours ago, Tokay said: What about license for Google Charts? Does it possible to use it in the commercial projects? Yes, it is free, It is written in official Page: https://developers.google.com/chart/?csw=1 Quote
picyka Posted July 8, 2022 Posted July 8, 2022 Could the ClientEvents property be published? I need to click with the right mouse button, and create an option to edit the chart record, this, each graph of mine has a registration with sql. Quote
Pep Posted July 10, 2022 Author Posted July 10, 2022 On 7/8/2022 at 2:37 PM, picyka said: Could the ClientEvents property be published? I need to click with the right mouse button, and create an option to edit the chart record, this, each graph of mine has a registration with sql. Hello Picyka, It is not possible to publish the ClientEvents property because Google Charts is not a component of "Sencha Ext. JS" and therefore does not support its events. On the other hand, I have looked if it is possible to capture the right mouse button from Google Charts and in the official documentation it does not mention that this is possible. Searching the internet I have seen this post https://groups.google.com/g/google-visualization-api/c/NgXzGOzVcHY according to which "Google cancels the propagation of right-click events in almost all visualizations, ..." I'm sorry but haven't a solution to this. Quote
picyka Posted July 10, 2022 Posted July 10, 2022 1 hour ago, Pep said: Olá Picika, Não é possível publicar a propriedade ClientEvents porque o Google Charts não é um componente de "Sencha Ext. JS" e, portanto, não suporta seus eventos. Por outro lado, verifiquei se é possível capturar o botão direito do mouse no Google Charts e na documentação oficial não menciona que isso é possível. Pesquisando na internet vi este post https://groups.google.com/g/google-visualization-api/c/NgXzGOzVcHY segundo o qual "Google cancela a propagação de eventos de clique com o botão direito em quase todas as visualizações, ... " Lamento mas não tenho solução para isso. ok friend Quote
jrp Posted September 3, 2022 Posted September 3, 2022 Hi pep, Thank you very much for your component. I have made my first chart with it. Could you please show how to print the chart? Thanks again Quote
Pep Posted September 10, 2022 Author Posted September 10, 2022 Hi jrp I just uploaded a new version that allows print the frame with the graph or graphs. See demos. procedure TMainForm.btnPrintChartClick(Sender: TObject); begin uniGChartsFrame1.DocumentPrint; end; 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.