Search found 6 matches
- Fri Dec 26, 2008 2:36 am
- Forum: JFreeChart
- Topic: don't display img in jsp( image created by saveChartAsPNG)
- Replies: 1
- Views: 2576
don't display img in jsp( image created by saveChartAsPNG)
Hi, I have a timeseries chart. in there I want to save the chart as png image by using saveChartAsPNG. The image is saved as png in the directory but when I want to display the image in jsp page but the image is not displayed. I have tried many way.. I got that the mimetype of the saved png image is...
- Thu Dec 18, 2008 1:43 am
- Forum: JFreeChart
- Topic: TimeSeries override x-axis unit
- Replies: 5
- Views: 7862
Wow, thanks for your fast help! :D I've had to be blind to miss that... :shock: String[] quarters={"1. Quartal", "2. Quartal", "3. Quartal", "4. Quartal"}; axis.setDateFormatOverride(new QuarterDateFormat(TimeZone.getDefault(),quarters)); unit=new DateTickUnit(DateTickUnit.MONTH, 3,new QuarterDateF...
- Wed Dec 17, 2008 3:40 am
- Forum: JFreeChart
- Topic: No outline shows for XYBarRenderer
- Replies: 0
- Views: 1947
No outline shows for XYBarRenderer
hi, I have a time series graph. I want to draw outline of bar But the following code generate class cust error (java.lang.ClassCastException: org.jfree.chart.renderer.xy.XYLineAndShapeRenderer). XYBarRenderer renderer = (XYBarRenderer) chart.getXYPlot().getRenderer(); renderer.setDrawBarOutline(true...
- Wed Dec 17, 2008 3:35 am
- Forum: JFreeChart
- Topic: XYItemRenderer and setSeriesOutlinePaint not working
- Replies: 9
- Views: 16708
hi, I have a time series graph. I want to draw outline of bar But the following code generate class cust error (java.lang.ClassCastException: org.jfree.chart.renderer.xy.XYLineAndShapeRenderer). XYBarRenderer renderer = (XYBarRenderer) chart.getXYPlot().getRenderer(); renderer.setDrawBarOutline(true...
- Tue Dec 16, 2008 4:02 am
- Forum: JFreeChart
- Topic: help needed in createTimeSeriesChart
- Replies: 2
- Views: 3245
You can call setTickUnit() on the axis. But if you manually fix the tick unit this way, then when the chart resizes you may get labels overlapping. Hi, Thx for ur reply. Sorry to say that have missed one point that is in that timeseries chart chart should be generate according to hour. The chart ha...
- Mon Dec 15, 2008 6:03 am
- Forum: JFreeChart
- Topic: help needed in createTimeSeriesChart
- Replies: 2
- Views: 3245
help needed in createTimeSeriesChart
HI, In my system I have draw createTimeSeriesChart but the problem is when The size of the grppah reduce to smaller size then the level of X axis is changed. It seems ok with rendam values choosed XYPlot class. But I want to display particular label in the X axis( domain label). Sush as 9,12,15,18,2...