Search found 35 matches

by bztom33
Tue Feb 10, 2009 7:29 pm
Forum: JFreeChart
Topic: Series Index
Replies: 2
Views: 2209

figure it out. I got it working.Thanks.
by bztom33
Mon Feb 09, 2009 11:40 pm
Forum: JFreeChart
Topic: Series Index
Replies: 2
Views: 2209

Series Index

How can I get the selected series index from a combined domain XYplot?
by bztom33
Tue Jan 06, 2009 11:50 pm
Forum: JFreeChart
Topic: using JFreeChart with JSP
Replies: 85
Views: 241894

Generating multiple buffered PNG Images

mjitch,

Did you ever find a solution to your problem?
by bztom33
Wed Oct 29, 2008 5:04 pm
Forum: JFreeChart
Topic: Add ValueMarker based on secondary axis
Replies: 2
Views: 2447

Thanks for the help.

Code: Select all

plot.addRangeMarker(1,myMarker, Layer.FOREGROUND);
by bztom33
Tue Oct 28, 2008 10:16 pm
Forum: JFreeChart
Topic: Add ValueMarker based on secondary axis
Replies: 2
Views: 2447

Add ValueMarker based on secondary axis

Hi,

Is there a way to add ValueMarker using the secondary y-axis scale?
Currently, it only allows to use the primary y-axis scale.

Code: Select all

plot.addRangeMarker(myMarker);
by bztom33
Tue Oct 28, 2008 12:41 am
Forum: JFreeChart - Stockmarket
Topic: How to use mouse wheel to zoom in(out) ?
Replies: 3
Views: 27169

I modified the original code provided by LucaSirri as follows... addListener(chartPanel); ... protected void addListener(ChartPanel chartPanel)) { chartPanel.addMouseWheelListener(new MouseWheelListener() { public void mouseWheelMoved(MouseWheelEvent e) { if (e.getScrollType() != MouseWheelEvent.WHE...
by bztom33
Mon Sep 22, 2008 5:47 pm
Forum: JFreeChart
Topic: NNUmberAxis format
Replies: 1
Views: 1830

NNUmberAxis format

Hi,

Is there a way to format the RangeAxis value?

example,

I want to change the RangeAxis (y-axis) values from 0.0000000 to 0.00. This is a problem when the plotted values are 0.


Thanks,

tom
by bztom33
Fri Aug 22, 2008 9:06 am
Forum: JFreeChart
Topic: set color for secondary axis TimeSeries
Replies: 3
Views: 2832

Thanks for your help I got it working. old code: subplot1.setRenderer(1, new StandardXYItemRenderer()); new code: final XYItemRenderer renderer1a = new StandXYItemRenderer(); subplot1.setRenderer(1,renderer1a); renderer1a.setSeriesPaint(0,Color.GREEN); ==secondary axis series1 renderer1a.setSeriesPa...
by bztom33
Fri Aug 22, 2008 4:32 am
Forum: JFreeChart
Topic: set color for secondary axis TimeSeries
Replies: 3
Views: 2832

set color for secondary axis TimeSeries

Hi, I was able to change the color for the first set of timeseries xyplot. I tried to change the color for the secondary axis xyplot. It does not work. Is it there's way to do it? renderer1.setSeriesPaint(0, Color.blue); --working primary axis (left) renderer1.setSeriesPaint(1, Color.green); --not w...
by bztom33
Fri Aug 22, 2008 2:49 am
Forum: JFreeChart
Topic: Upside down BarChart
Replies: 2
Views: 2469

Thanks for your help! It works great.
by bztom33
Thu Aug 21, 2008 4:35 am
Forum: JFreeChart
Topic: Upside down BarChart
Replies: 2
Views: 2469

Upside down BarChart

Is it possible to render a upside down bar chart? I want to generate something like this --------------------------------------------------------------- | | | | | | | | | | | | | | -- -- -- _____________________________________________________ 01-08-08 02-08-08 03-08-08
by bztom33
Tue May 20, 2008 11:52 pm
Forum: JFreeChart
Topic: Simple TimeSeries Chart question
Replies: 0
Views: 1737

Simple TimeSeries Chart question

Hi, I was able to generate the chart I wanted, but x-axis is being truncated when data is not available. I would like to include/force the exact range of x-axis that specified by the user. X-axis: Feb 07 to Mar 08 current chart: x-axis is missing Dec, Jan and Mar labels. | | | | | | |* * * * * * * *...
by bztom33
Wed Oct 03, 2007 5:28 pm
Forum: JFreeChart
Topic: using JFreeChart with JSP
Replies: 85
Views: 241894

Here is a pseudo code:

Code: Select all

<%
while (dataset.next()) {

String chartViewer = myChart.getChartViewer(request, response,dataset);
%>
<img src="<%=chartViewer%>" border=0 usemap="#imageMap"> 
<%
}
%>

by bztom33
Wed Oct 03, 2007 1:21 am
Forum: JFreeChart
Topic: using JFreeChart with JSP
Replies: 85
Views: 241894

Does anyone get the following to work in a loop? It always end up with the same image. I verified that different datasets are being passed to the java bean. <html> <head> <title>Pie Chart Demo</title> </head> <jsp:useBean id="myChart" scope="session" class="myapp.webwork.beans.Pie3DDemo" /> <body> <...
by bztom33
Tue Oct 02, 2007 11:17 pm
Forum: JFreeChart
Topic: using JFreeChart with JSP
Replies: 85
Views: 241894

I've similar problem. Is it possible to see your JSP file setup?