Search found 58 matches

by abhay.asingh
Fri Jan 22, 2010 2:48 pm
Forum: JFreeChart - Stockmarket
Topic: Issue in plotting Price volumne chart
Replies: 4
Views: 12046

Re: Issue in plotting Price volumne chart

Hi,

Thanks alot, i just forgot about include and exclude segments.
by abhay.asingh
Fri Jan 22, 2010 1:26 pm
Forum: JFreeChart - Stockmarket
Topic: Issue in plotting Price volumne chart
Replies: 4
Views: 12046

Re: Issue in plotting Price volumne chart

Hi

This works okay but caused another thing, by changing this my chart shows line
between 9 to 10 Am but now its doesn't show last one hour i.e. 3 Pm to 4 Pm..
means whole chart is shifted one hour towards morning...

can you suggest some thing else///
by abhay.asingh
Thu Jan 14, 2010 6:00 am
Forum: JFreeChart - Stockmarket
Topic: Issue in plotting Price volumne chart
Replies: 4
Views: 12046

Issue in plotting Price volumne chart

Hi, I am making price volume chart, and it was working fine, but now my data set is changed and time range is now 09:00 hrs to 16:00 hrs(previously it was 10:00 t0 16:00 hrs). Now i can't see initial points in my chart means data from 9 to 10, once i get data for 10:00 hrs onwards i can see. I don't...
by abhay.asingh
Mon Dec 28, 2009 7:39 am
Forum: JFreeChart
Topic: Color of lines in line chart
Replies: 0
Views: 2044

Color of lines in line chart

Hi, I am adding a new series in my plot, but whenever i do this it changes the color of existing series also and that to same as new one. Say i have a line chart having only one series, which is coming in red color, on i added second series(Now i have 2 line in my plot) after adding second series bo...
by abhay.asingh
Mon Dec 28, 2009 6:29 am
Forum: JFreeChart - Stockmarket
Topic: Combine Candlestick and Line Charts
Replies: 6
Views: 26385

Re: Combine Candlestick and Line Charts

hi here is example for that import org.jfree.chart.ChartPanel; import org.jfree.chart.JFreeChart; import org.jfree.chart.axis.*; import org.jfree.chart.plot.XYPlot; import org.jfree.chart.renderer.xy.CandlestickRenderer; import org.jfree.data.xy.*; import javax.swing.*; import java.awt.*; import jav...
by abhay.asingh
Tue Dec 22, 2009 5:26 am
Forum: JFreeChart
Topic: How to remove subplot from combineddomainxyplot
Replies: 6
Views: 6171

Re: How to remove subplot from combineddomainxyplot

Hi, first of all thanks for replying and showing intereset on my topic What i am trying to do is... I am making an application where we can analysze market performance of any listed company, these analysis done on basis of some technical indicators like Moving Avg, MACD, williums %R, Rate of Change ...
by abhay.asingh
Mon Dec 21, 2009 10:27 am
Forum: JFreeChart
Topic: How to remove subplot from combineddomainxyplot
Replies: 6
Views: 6171

Re: How to remove subplot from combineddomainxyplot

Thanks, But how do i know which plot its removing? i wanted to remove any specific one. In my case am adding charts to combineddomain on selection, if i unselected that selection then i want to remove that. e.g I have created price-volume chart, now i want to add moving Avg chart to this, again like...
by abhay.asingh
Fri Dec 18, 2009 12:56 pm
Forum: JFreeChart
Topic: How to remove subplot from combineddomainxyplot
Replies: 6
Views: 6171

How to remove subplot from combineddomainxyplot

Hi

How can we remove a subplot from combineddomainxyplot...?
I am making some stock charts and adding indicators on them on demand, and want to remove when its not needed.


Thanks
by abhay.asingh
Mon Nov 16, 2009 1:30 pm
Forum: JFreeChart
Topic: How to set font of Label in PIE chart
Replies: 6
Views: 10179

Re: How to set font of Label in PIE chart

Hi

Thanks alot, this works fine....
i know this point but don't know why i forgot this... once again thanks for helping me out.
by abhay.asingh
Mon Nov 16, 2009 10:32 am
Forum: JFreeChart
Topic: How to set font of Label in PIE chart
Replies: 6
Views: 10179

Re: How to set font of Label in PIE chart

Hi Here is the code i am using for this pie chart jf = ChartFactory.createMultiplePieChart("", (CategoryDataset) dataset[0], TableOrder.BY_ROW, true, true, true); MultiplePiePlot mp = (MultiplePiePlot) jf.getPlot(); JFreeChart jc = mp.getPieChart(); PiePlot pp = (PiePlot) jc.getPlot(); pp.setLabelGe...
by abhay.asingh
Mon Nov 16, 2009 8:17 am
Forum: JFreeChart
Topic: How to set font of Label in PIE chart
Replies: 6
Views: 10179

Re: How to set font of Label in PIE chart

Hi Thanks for reply, I tried 1st with title and here is the code i have written TextTitle title = jf.getTitle(); title.setFont(new Font("Arial Unicode MS", 0, 6)); But this didn't work, then i went for subtitle thing TextTitle subtitle; for(int ix=0; ix<jf.getSubtitleCount(); ix++){ subtitle = (Text...
by abhay.asingh
Fri Nov 13, 2009 5:35 am
Forum: JFreeChart
Topic: How to set font of Label in PIE chart
Replies: 6
Views: 10179

How to set font of Label in PIE chart

Hi How can i set Label font in pie chart, i tries these PiePlot.setLabelFont() will set fonts for the labels of each Section of pie, chart.getLegent().setItemFont() will set font for the legends... but i didn't any thing for Labels written below the pie charts. [img] http://122.166.11.56/rdg43628.pn...
by abhay.asingh
Fri Jul 03, 2009 8:26 am
Forum: JFreeChart
Topic: Problem in java local
Replies: 7
Views: 6919

Re: Problem in java local

Hi,

I am useing org.jfree.chart.ChartFactory functions like createBarChart etc..
and there is no options to pass fonts , in this case i need to wirte functions for tooltip, legends and labels seperatly right?
by abhay.asingh
Fri Jul 03, 2009 5:10 am
Forum: JFreeChart
Topic: Problem in java local
Replies: 7
Views: 6919

Re: Problem in java local

Hi,
Can any one please help me in this, i have tried all option i came across like,
Changing the charcterset of stored data... (utf8)
passing charcterEncoding in jdbcURL while making connection to data base for fetching data... (utf8)
Setting LOCALE for my programme...

Please help me..