User (Legacy) Posted November 17, 2004 Report Share Posted November 17, 2004 I am currently exporting charts to .jpg (until .svg export works) using exportChart. I attempt to set the chart size using chart.setHeight() and chart.SetWidth(). The size of the generated .jpg matches the chart height and width settings, *but* the chart itself is tiny (barely readable) centered in the middle of the .jpg. Changing the height and width chart settings appear to have no effect on the size of the chart itself. How do I set this? Any help is appreciated. Edward Link to comment Share on other sites More sharing options...
Software FX Posted November 17, 2004 Report Share Posted November 17, 2004 I've just run this code: Chart chart1 = new Chart(); chart1.setHeight(600); chart1.setWidth(800); chart1.exportChart(FileFormat.JPEG,"c:\\test.jpg"); And I've gotten the attached chart. What other properties of the chart are you setting? Can you post the code that reproduces your problem? Thanks, GA SoftwareFX "Edward Gemar" <egemar@zilliant.com> wrote in message news:4XSxUtMzEHA.1116@webserver3.softwarefx.com... >I am currently exporting charts to .jpg (until .svg export works) using > exportChart. I attempt to set the chart size using chart.setHeight() and > chart.SetWidth(). The size of the generated .jpg matches the chart height > and width settings, *but* the chart itself is tiny (barely readable) > centered in the middle of the .jpg. Changing the height and width chart > settings appear to have no effect on the size of the chart itself. How do > I > set this? Any help is appreciated. > > Edward > > Link to comment Share on other sites More sharing options...
User (Legacy) Posted November 17, 2004 Author Report Share Posted November 17, 2004 This also works with the latest version from your site, but fails with our version 2004-A CD. Is 2004-A known to be a buggy version? Where can I find the version info for a ChartFX installation? Thanks! Edward "SoftwareFX Support" <noreply@softwarefx.com> wrote in message news:5Ya3p0MzEHA.2880@webserver3.softwarefx.com... > I've just run this code: > > Chart chart1 = new Chart(); > chart1.setHeight(600); > chart1.setWidth(800); > chart1.exportChart(FileFormat.JPEG,"c:\\test.jpg"); > > And I've gotten the attached chart. > > What other properties of the chart are you setting? Can you post the code > that reproduces your problem? > > Thanks, > GA > SoftwareFX > > > "Edward Gemar" <egemar@zilliant.com> wrote in message > news:4XSxUtMzEHA.1116@webserver3.softwarefx.com... > >I am currently exporting charts to .jpg (until .svg export works) using > > exportChart. I attempt to set the chart size using chart.setHeight() and > > chart.SetWidth(). The size of the generated .jpg matches the chart height > > and width settings, *but* the chart itself is tiny (barely readable) > > centered in the middle of the .jpg. Changing the height and width chart > > settings appear to have no effect on the size of the chart itself. How do > > I > > set this? Any help is appreciated. > > > > Edward > > > > > > > Link to comment Share on other sites More sharing options...
Software FX Posted November 17, 2004 Report Share Posted November 17, 2004 You can see the version by running the following command line: java -jar chartfx.jar -version CDs are produced in large quantities and we try to release service packs often, so most of the time you need to get the latest service pack to be up to date. Service pack are always available in our support site, if you go to http://support.softwarefx.com/cfxjava/ you will se that the latest Chart FX for Java service pack (which is basically the latest jar file) is from 10/7/2004. You don't need to reinstall, just get the latest file and replaces them locally. GA Software FX, Inc. "Edward Gemar" <egemar@zilliant.com> wrote in message news:7jxtBfOzEHA.1120@webserver3.softwarefx.com... > This also works with the latest version from your site, but fails with our > version 2004-A CD. Is 2004-A known to be a buggy version? Where can I > find > the version info for a ChartFX installation? > > Thanks! > > Edward > > "SoftwareFX Support" <noreply@softwarefx.com> wrote in message > news:5Ya3p0MzEHA.2880@webserver3.softwarefx.com... >> I've just run this code: >> >> Chart chart1 = new Chart(); >> chart1.setHeight(600); >> chart1.setWidth(800); >> chart1.exportChart(FileFormat.JPEG,"c:\\test.jpg"); >> >> And I've gotten the attached chart. >> >> What other properties of the chart are you setting? Can you post the >> code >> that reproduces your problem? >> >> Thanks, >> GA >> SoftwareFX >> >> >> "Edward Gemar" <egemar@zilliant.com> wrote in message >> news:4XSxUtMzEHA.1116@webserver3.softwarefx.com... >> >I am currently exporting charts to .jpg (until .svg export works) using >> > exportChart. I attempt to set the chart size using chart.setHeight() > and >> > chart.SetWidth(). The size of the generated .jpg matches the chart > height >> > and width settings, *but* the chart itself is tiny (barely readable) >> > centered in the middle of the .jpg. Changing the height and width >> > chart >> > settings appear to have no effect on the size of the chart itself. How > do >> > I >> > set this? Any help is appreciated. >> > >> > Edward >> > >> > >> >> >> > > Link to comment Share on other sites More sharing options...
User (Legacy) Posted October 16, 2005 Author Report Share Posted October 16, 2005 Link to comment Share on other sites More sharing options...
Software FX Posted October 17, 2005 Report Share Posted October 17, 2005 Hi David, This is not a bug, this is the expected behavior for the Community Edition. Regards, GA SoftwareFX "David Beckford" <david.beckford@gmail.com> wrote in message news:DEH8NVp0FHA.1856@webserver3.softwarefx.com... > SoftwareFX Support wrote: >> You can see the version by running the following command line: >> >> java -jar chartfx.jar -version >> >> >> CDs are produced in large quantities and we try to release service packs >> often, so most of the time you need to get the latest service pack to be >> up >> to date. Service pack are always available in our support site, if you go >> to >> http://support.softwarefx.com/cfxjava/ you will se that the latest Chart >> FX >> for Java service pack (which is basically the latest jar file) is from >> 10/7/2004. >> >> You don't need to reinstall, just get the latest file and replaces them >> locally. >> >> GA >> Software FX, Inc. >> >> "Edward Gemar" <egemar@zilliant.com> wrote in message >> news:7jxtBfOzEHA.1120@webserver3.softwarefx.com... >> >>>This also works with the latest version from your site, but fails with >>>our >>>version 2004-A CD. Is 2004-A known to be a buggy version? Where can I >>>find >>>the version info for a ChartFX installation? >>> >>> Thanks! >>> >>> Edward >>> >>>"SoftwareFX Support" <noreply@softwarefx.com> wrote in message >>>news:5Ya3p0MzEHA.2880@webserver3.softwarefx.com... >>> >>>>I've just run this code: >>>> >>>>Chart chart1 = new Chart(); >>>>chart1.setHeight(600); >>>>chart1.setWidth(800); >>>>chart1.exportChart(FileFormat.JPEG,"c:\\test.jpg"); >>>> >>>>And I've gotten the attached chart. >>>> >>>>What other properties of the chart are you setting? Can you post the >>>>code >>>>that reproduces your problem? >>>> >>>>Thanks, >>>>GA >>>>SoftwareFX >>>> >>>> >>>>"Edward Gemar" <egemar@zilliant.com> wrote in message >>>>news:4XSxUtMzEHA.1116@webserver3.softwarefx.com... >>>> >>>>>I am currently exporting charts to .jpg (until .svg export works) using >>>>>exportChart. I attempt to set the chart size using chart.setHeight() >>> >>>and >>> >>>>>chart.SetWidth(). The size of the generated .jpg matches the chart >>> >>>height >>> >>>>>and width settings, *but* the chart itself is tiny (barely readable) >>>>>centered in the middle of the .jpg. Changing the height and width >>>>>chart >>>>>settings appear to have no effect on the size of the chart itself. How >>> >>>do >>> >>>>>I >>>>>set this? Any help is appreciated. >>>>> >>>>> Edward >>>>> >>>>> >>>> >>>> >>>> >>> >> >> > > Hello, I am having the same problem as Edward in getting a big image but > a tiny chart > > Chart FX version ( Community edition ) > 6.0.2020.19278 > > I downloaded the full version and the code worked fine > > attached are the generater images > > > code example > > Chart chart1 = new Chart(); > > chart1.importChart(FileFormat.XML,"DesignerProps.xml"); > // Populating the chart1 with fixed data > > chart1.openData(COD.VALUES, 5, 7); > chart1.setValue(0, 0,87556); > <snip> > chart1.setValue(3, 6,100253); > > chart1.closeData(COD.VALUES); > > chart1.setLegend(0,"1989"); > <snip> > chart1.setLegend(6,"1995"); > > > chart1.setHeight(500); > chart1.setWidth(500); > chart1.exportChart(FileFormat.PNG,"test2.png"); > > > Will you be fixing the community edition any time soon? > > Thanks > > Dave Beckford > -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.