Search found 20 matches

by nilesh
Tue Apr 20, 2004 1:06 pm
Forum: JFreeChart
Topic: pieplot compatibility with version 0.9.18
Replies: 0
Views: 1962

pieplot compatibility with version 0.9.18

I have got following method based on version 0.9.16 which seems like non jfreechart method now. What are changes I need to make this work with version 0.9.18 private void setChartProperties(JFreeChart chart){ PiePlot plot = (PiePlot) chart.getPlot(); plot.setSectionLabelType(PiePlot.NAME_AND_VALUE_L...
by nilesh
Thu Mar 18, 2004 5:17 am
Forum: JFreeChart
Topic: Multiple line label in piechart
Replies: 1
Views: 3526

Multiple line label in piechart

in pieplot.java at drawLabel() function, there is code if (this.sectionLabelType == NAME_AND_VALUE_LABELS) { label = data.getKey(section).toString() + " (" + valueFormatter.format(value) + ")"; } which displays label as: name(value) I need to display label in two lines like: name value Please david ...
by nilesh
Tue Mar 16, 2004 11:47 am
Forum: JFreeChart
Topic: text/label quality
Replies: 5
Views: 7921

please share

jay can you share your high resolution png encode code
by nilesh
Wed Feb 25, 2004 8:16 am
Forum: JFreeChart
Topic: secondary range axis format for overlaid graph
Replies: 1
Views: 2380

secondary range axis format for overlaid graph

I have overlaid chart. formatted primary range axis as NumberAxis xAxis1 = (NumberAxis) plot.getRangeAxis(); xAxis1.setNumberFormatOverride(new DecimalFormat("##")); I need to format secondary range axis (for dual axes graph) I tried NumberAxis xAxis2 = (NumberAxis) plot.getRangeAxisForSecondaryData...
by nilesh
Fri Feb 20, 2004 6:33 am
Forum: JFreeChart
Topic: vertical section outline paint in pie3dchart
Replies: 1
Views: 2934

vertical section outline paint in pie3dchart

I have changed outline stroke color of pie sections using

plot.setSectionOutlinePaint(Color.DARK_GRAY);

but verical lines (outline color in 3d depth) remains default.

How can i change it ?

I am using version 0.9.12

Thank you
Nilesh
by nilesh
Thu Jan 08, 2004 10:45 am
Forum: JFreeChart
Topic: auto switch vertical and horizontal label depending upon dat
Replies: 1
Views: 2781

auto switch vertical and horizontal label depending upon dat

We know

plot.getDomainAxis().setVerticalCategoryLabels(true);

draws vertical label.

How can we set label vertical only after calculating that labels overlap, other wise draw Horizontal label ?
by nilesh
Sun Sep 14, 2003 11:31 am
Forum: JFreeChart
Topic: DomainAxis Category Labels
Replies: 1
Views: 3086

DomainAxis Category Labels

Current API supports Horizontal and Vertical labels only. for setting Horizontal Labels setVerticalCategoryLabels(false); and for setting Vertical Labels setVerticalCategoryLabels(true); But to make it more flexible, we need to make it setDomainLabels(Double angle); where angle ranges from 0.00 to 3...
by nilesh
Sun Sep 14, 2003 7:08 am
Forum: JFreeChart
Topic: How to format ToolTip ?
Replies: 1
Views: 3693

How to format ToolTip ?

I have formatted value for PieChart as "#.0%" and display .27 as 27.0% This is fine but my ToolTip (On Web Browser) is still showing value .27 How can I format value in Tooltip ? ToolTip display in the form Name = Value ? Is there any option just displaying either name or value only ? Thank You, Nil...
by nilesh
Fri Sep 12, 2003 9:48 am
Forum: JFreeChart
Topic: Paint Table ans setVerticalCategoryLabels
Replies: 0
Views: 2404

Paint Table ans setVerticalCategoryLabels

:arrow: Using renderer.setSeriesPaint() is useful to set paint of a series but it doesn't help when you have overlaid plot and number of series is dynamic. The best way is to change paint table if there exist any. How can I do it ? I think it used to exist in older version but unable to locate in 0....
by nilesh
Fri Sep 12, 2003 9:25 am
Forum: JFreeChart
Topic: Dual axes graph
Replies: 3
Views: 4839

Thank you

It's a great help thanks

Nilesh :P
by nilesh
Sun Sep 07, 2003 7:13 am
Forum: JFreeChart
Topic: Customizing colors in pie chart
Replies: 1
Views: 2879

setPaint()

Get the plot of the Chart

then set the paint

plot.setPaint(int a, Paint b);

@param a- number of pie section
@param b- Color of the section

Nilesh
by nilesh
Sun Sep 07, 2003 7:03 am
Forum: JFreeChart
Topic: Dual axes graph
Replies: 3
Views: 4839

Dual axes graph

Is it possible to have dual axes graph with two plots (bar and line) referece to one axis and another plot (line) reference to another axis ?
If yes please let me know how to do it.

Thank you

Nilesh
by nilesh
Thu Sep 04, 2003 6:49 am
Forum: JFreeChart
Topic: Combination OverlaidVerticalCategoryPlot and DualAxes
Replies: 0
Views: 2230

Combination OverlaidVerticalCategoryPlot and DualAxes

I have to generate a graph that has Bar and line reference with Primary Y-axis(i.e the left one) and anoher line reference with Secondary Y-axis(i.e. the right one). I approched by plotting overlaid graph as follows ////////////////////// VerticalCategoryPlot plot1 = new VerticalCategoryPlot(BarData...
by nilesh
Tue Jul 08, 2003 7:24 am
Forum: JFreeChart
Topic: Joining vertical bars of same category label
Replies: 1
Views: 2928

Joining vertical bars of same category label

I have got two vertical bars (e.g. blue and red) for a category say 2001 and so on for 2002, 2003 years. My graph is coming up such that all bars are evenly distributed. I need to join(or very close) blue and red bars for year 2001 and the similar with 2002 and so on. How can I implement it ? Plz he...
by nilesh
Tue Jun 10, 2003 6:10 am
Forum: JFreeChart
Topic: How to display categoryAxisLabel vertically
Replies: 2
Views: 3950

Thanks

Thank you David , it is done !