Search found 23 matches
- Fri Aug 16, 2019 3:15 pm
- Forum: JFreeChart
- Topic: Show majorAxis at the end of NumberAxis
- Replies: 4
- Views: 16568
Re: Show majorAxis at the end of NumberAxis
Tag! Since you are having a constrained, dynamic XYPlot, I would recommend turning off auto range includes zero (set it to false), and instead manually set the range on the NumberAxis. Since you want to always include zero, create the plot, obtain the range of the axis you want to modify, set the lo...
- Wed Jul 11, 2018 2:15 pm
- Forum: JFreeChart
- Topic: how to?
- Replies: 0
- Views: 7297
Re: how to?
For totals, look at this previous post. There exists ExtendedStackBarRenderer and ExtendedStackBarRenderer3D, depending on your preference.
- Mon Jul 09, 2018 4:43 pm
- Forum: JFreeChart
- Topic: jpeg or other image format file?
- Replies: 1
- Views: 6745
Re: jpeg or other image format file?
Look at the ChartUtils class - there are many utility methods available for saving the JFreeChart as a PNG or JPEG.
- Wed Jun 27, 2018 3:36 pm
- Forum: JFreeChart
- Topic: How to really disable mouse zooming ???
- Replies: 0
- Views: 7053
Re: How to really disable mouse zooming ???
Hmm. I am using a CombinedDomainXYPlot and the methods you cite work as expected for me. For your CombinedRangeCategoryPlot, what does isRangeZoomable() and isDomainZoomable() return? Are you perhaps referring to disabling the mouse wheel? If so, try using isMouseWheelEnabled() and setMouseWheelEnab...
- Fri Jun 15, 2018 2:06 pm
- Forum: JFreeChart
- Topic: I want to ask a question
- Replies: 0
- Views: 5821
Re: I want to ask a question
Convert the JFreeChart into an InputStream and follow the example at the POI Busy Developer's Guide.
- Wed Jun 13, 2018 2:33 pm
- Forum: JFreeChart
- Topic: I want to ask a question
- Replies: 0
- Views: 6297
Re: I want to ask a question
Have you considered using LogAxis or LogarithicAxis for the Y axis? You can set the axis to render integers (example).
- Tue Jun 05, 2018 7:39 pm
- Forum: JFreeChart
- Topic: Cannot Label Vertical Marker
- Replies: 5
- Views: 16075
Re: Cannot Label Vertical Marker
I have never done a dynamic plot before, so again I would suggest adding some debugging output with System.out.println() statements within your addMarker() routine to check the X and Y coordinates against the plot's domain and range axes upper and lower bounds. Verify that those values are reasonabl...
- Tue Jun 05, 2018 6:35 pm
- Forum: JFreeChart
- Topic: Cannot Label Vertical Marker
- Replies: 5
- Views: 16075
Re: Cannot Label Vertical Marker
I support your guess that you are drawing the XYTextAnnotation off the chart. The constructor for [url=http://www.jfree.org/jfreechart/api/javadoc/org/jfree/chart/annotations/XYTextAnnotation.html]XYTextAnnotation[url] has the second and thrird arguments as the X and Y location of the text. Not know...
- Mon Jun 04, 2018 7:27 pm
- Forum: JFreeChart
- Topic: A quick question about draw
- Replies: 0
- Views: 6117
- Fri May 25, 2018 7:03 pm
- Forum: Orson Charts
- Topic: ViewPoint3D units
- Replies: 8
- Views: 102969
Re: ViewPoint3D units
Thank you David!
I added the constructor to accept the Point3D up to my local copy of Orson charts, and that fixed my issues.
Thank you again for both Orson Charts and JFreeCharts - they have made my work look great!
David
I added the constructor to accept the Point3D up to my local copy of Orson charts, and that fixed my issues.
Thank you again for both Orson Charts and JFreeCharts - they have made my work look great!
David
- Fri May 25, 2018 3:44 pm
- Forum: JFreeChart
- Topic: A quick question about language
- Replies: 0
- Views: 6012
Re: A quick question about language
Up front, understand that when ChartPanel displays the menu, the text is pulled from a ResourceBundle . The resourse bundle in ChartPanel, localizationResource , is static and allocated when the ChartPanel object is created. If you look at the code (line 393-395) , you will see that a call is made t...
- Thu Aug 31, 2017 4:04 pm
- Forum: JFreeChart
- Topic: How do I create a XYLineChart with gaps in between squeezed?
- Replies: 1
- Views: 6099
Re: How do I create a XYLineChart with gaps in between squee
You could create two different XYSeries, with points 1 and 2 in the first, and points 5 and 6 in the second. That would create two different lines with the corresponding gap between them. They would be different colors (and two different entries in the legend), but you can override the color of each...
- Thu Feb 02, 2017 11:13 pm
- Forum: JFreeChart
- Topic: Add button to Chart Properties Dialog
- Replies: 2
- Views: 8923
Re: Add button to Chart Properties Dialog
The chart properties dialog box you are referring to, I believe, is shown from the ChartPanel.java's public void doEditChartProperties() method (I am looking at JFreeChart 1.0.19 source). In looking at that method, the OK and CANCEL buttons you are seeing is from the standard JOptionPane.showConfirm...
- Thu Nov 10, 2016 3:51 pm
- Forum: Orson Charts
- Topic: ViewPoint3D units
- Replies: 8
- Views: 102969
Re: ViewPoint3D units
OK, a demo of the problem I am having. This demo was done with Orson Charts 1.5. I took the ScatterPot3DDemo2 class and duplicated it as ScatterPlot3Demo4. I then changed the JCheckBox to a JButton and rewrote the actionPerformed() method. Everytime the button is clicked, the current viewport data i...
- Tue Oct 25, 2016 2:35 pm
- Forum: Orson Charts
- Topic: Feature Request - copy on pop-up menu
- Replies: 1
- Views: 53001
Feature Request - copy on pop-up menu
I see that Orson Charts has a pop-up menu like JFreeChart does, but there is a menu item that I have found very useful in JFreeChart (ChartPanel.doCopy()) that is missing in the Orson Charts implementation - a feature to copy a buffered image of the chart to the system clipboard. While I am looking ...