Bruce, Thank you for your advise. What I learned in the meantime is that I can use the PLUGIN command without specifying an image size. That wasn't the source of my error message. The error message resulted instead from the commandR> SHO vResultsMy problem was that the PLUGIN command does not create this variable, so it didn't exist to be shown. I didn't know that to test with this variable, you first need to define it as the error variable with the command.R> SET ERROR VARIABLE vResultsAfter doing this, the error message went away and the value of vResults was shown as 0. Thanks for your help. Now that I have an initial R:Chart chart displayed in a form, I can now experiment with the other option parameters to try to get to the real capability I am trying to implement.
Richard -----Original Message----- From: Bruce Chitiea <rby...@safesectors.com> To: rbase-l@googlegroups.com <rbase-l@googlegroups.com> Sent: Tue, Mar 7, 2023 2:15 pm Subject: Re: [RBASE-L] - RCharts Plugin #yiv9615438622 #yiv9615438622xfe27994dabe8493 #yiv9615438622x86b4dd35dfc94ef5a5432fdb70f5f643 {font-family:'Segoe UI';font-size:12pt;}<!--#yiv9615438622 blockquote.yiv9615438622cite {margin-left:5px;margin-right:0px;padding-left:10px;padding-right:0px;border-left:1px solid #cccccc;}#yiv9615438622 blockquote.yiv9615438622cite2 {margin-left:5px;margin-right:0px;padding-left:10px;padding-right:0px;border-left:1px solid #cccccc;margin-top:3px;padding-top:0px;}#yiv9615438622 a img {border:0px;}--> Richard Hopkins Haven't had time to dig in today. But try this, ideally in your RBEditor: (Based on the syntax for BeforeGenerate EEP in report: RRBYW20:Quarterly_PieChart (shown here in Courier New font, casing in just my style): PLUGIN rCharts + FILENAME midTerm.rbc +|SAVE_TO_JPG midTermChart.jpg +|IMAGE_WIDTH 324 +|IMAGE_HEIGHT 244 SET VAR vImage = 'midTermChart.jpg'RETURN Alternately, use your line: PLUGIN rCharts +FILENAME D:\rbxData\midTerm.rbc + ... Go from there if it works. Best, Bruce Bruce A. Chitiea | SafeSectors, Inc.112 Harvard Ave #272 | Claremont CA 91711-4716 | USA+011 (909) 238-9012 m | rby...@safesectors.com ------ Original Message ------From "'R Hopkins' via RBASE-L" <rbase-l@googlegroups.com>To "rbase-l@googlegroups.com" <rbase-l@googlegroups.com>Date 3/6/2023 12:08:55 PMSubject [RBASE-L] - RCharts Plugin I am attempting to use PLUGINs for the first time, with RChart being my guinea pig. I am still using RBase version X, and trying to decide if RCharts is valuable to me before I upgrade. I used the RChart desktop icon to launch RCharts and create a chart file: MidTerm.RBC My databases and this chart file are stored in folder D:\RBxData\ My goal is to insert the PLUGIN command into a form's EEP to initiate the display of this chart in a separate window (either as a chart within a separate form or otherwise). But before doing so, I tried testing the PLUGIN command from the R>, using the syntax from RCharts help file. After navigating to D:\RBxData\ and connecting to the database containing the table with the chart's data, I used this command at the R> R>PLUGIN RCharts vResults |FILENAME MidTerm.RBC R>SHO vResults -ERROR- Invalid parameter ( 639) R>PLUGIN RCharts vResults |FILENAME D:\RBxData\MidTerm.RBC R>SHO vResults -ERROR- Invalid parameter ( 639) I noticed that all example charts in the sample database bundled with RBase are displayed within a report. This is done by inserting an IMAGE object into the report, using the PLUGIN command to save the chart to a file, and then retrieving this file into the report's Image object. Does this also work for forms by placing an IMAGE object into a form? Is it even possible to display charts within a form? Based on the examples, and thinking my only option is to save the chart to a file (rather than display it real time without a form), I tried to create a .JPG file using the PLUGIN command: R>PLUGIN RCharts vResults |FILENAME MidTerm.RBC |SAVE_TO_JPG D:\RBxData\MidTerm.JPG R>SHO vResults -ERROR- Invalid parameter ( 639) R>PLUGIN RCharts vResults |FILENAME D:\RBxData\MidTerm.RBC |SAVE_TO_JPG D:\RBxData\MidTerm.JPG R>SHO vResults -ERROR- Invalid parameter ( 639) My installed RBase files are stored on a separate drive partition F:\ as shown below. Although this shouldn't make a difference (hasn't so far), I provide this info anyway. F:\RBaseX (RBase is installed in this folder) F:\RBaseX\RChartsX (RCharts is installed in this sub-folder) F:\RBaseX\RDocsX (RDocs is installed in this sub-folder) F:\RBaseX\... F:\RBaseX\RChartX.RBM (This key RChart file is in the RBaseX folder with F:\RBaseX\RBGX.EXE the RBase software) My experiments show I need help to get started using RCharts. I am hoping that some of you RChart gurus can help me get going in using RCharts within a RBase application. Richard Hopkins -- For group guidelines, visit http://www.rbase.com/support/usersgroup_guidelines.php --- You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to rbase-l+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rbase-l/256231001.11422.1678133335681%40mail.yahoo.com. -- For group guidelines, visit http://www.rbase.com/support/usersgroup_guidelines.php --- You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to rbase-l+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rbase-l/em8d3e92ee-be07-43a3-b105-3723c2a875eb%40cc1682b9.com. -- For group guidelines, visit http://www.rbase.com/support/usersgroup_guidelines.php --- You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to rbase-l+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rbase-l/256586528.1807334.1678731027687%40mail.yahoo.com.