Search found 10 matches

by chechaquo
Wed Jun 16, 2010 10:25 am
Forum: JFreeChart
Topic: Stacked Area color does not match with Legend
Replies: 4
Views: 7092

Re: Stacked Area color does not match with Legend

Does 1.0.13 support alpha transparency for legend? I couldn't find this in documentations :(
by chechaquo
Wed Nov 11, 2009 8:53 am
Forum: JFreeChart
Topic: Guidance required in showing Tooltip Text
Replies: 4
Views: 6010

Re: Guidance required in showing Tooltip Text

here is a quick sample code, not the best approach perhaps, but still... :roll: u can do something similar :roll: <%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equ...
by chechaquo
Mon Nov 09, 2009 7:54 pm
Forum: JFreeChart
Topic: Guidance required in showing Tooltip Text
Replies: 4
Views: 6010

Re: Guidance required in showing Tooltip Text

You should get the map from the chart and then use this map for tooltips.
by chechaquo
Mon Nov 09, 2009 7:46 pm
Forum: JFreeChart
Topic: The fix sized legend for piechart
Replies: 2
Views: 4400

Re: The fix sized legend for piechart

Forgive the obvious suggestions: move it to the top/bottom, make font size smaller. My only other suggestion is write a custom layout manager that never makes the legend more that x% of the available width. Thanks for your reply, moving legend and making font size smaller won't work in my case (I h...
by chechaquo
Sun Nov 08, 2009 12:15 pm
Forum: JFreeChart
Topic: The fix sized legend for piechart
Replies: 2
Views: 4400

The fix sized legend for piechart

Hello, I have following, perhaps trivial question, but i couldn't find an answer :( The legend of piechart is positioned on the left. Due to long keys the chart itself becomes small. Is it possible to fix the legend size? public class ChartTest { public static void main(String[] args) { DefaultPieDa...
by chechaquo
Sun Oct 25, 2009 3:06 pm
Forum: JFreeChart
Topic: Order in the stacked bar chart
Replies: 1
Views: 2539

Order in the stacked bar chart

Here is simple code which is rendering stacked bar chart public class ChartTest { public static void main(String[] args) { DefaultCategoryDataset ds = new DefaultCategoryDataset(); ds.addValue(100, "A", "2001"); ds.addValue(1000, "B", "2001"); ds.addValue(600, "B", "2006"); ds.addValue(5000, "A", "2...
by chechaquo
Mon Oct 19, 2009 2:03 pm
Forum: JFreeChart
Topic: Stacked Bar Chart Labels Position and Value Marker Problem
Replies: 15
Views: 35079

Re: Stacked Bar Chart Labels Position and Value Marker Problem

Got it, just needed to use ItemLabelPosition(ItemLabelAnchor itemLabelAnchor, org.jfree.ui.TextAnchor textAnchor, org.jfree.ui.TextAnchor rotationAnchor, double angle) :oops:
by chechaquo
Mon Oct 19, 2009 12:45 pm
Forum: JFreeChart
Topic: Stacked Bar Chart Labels Position and Value Marker Problem
Replies: 15
Views: 35079

Re: Stacked Bar Chart Labels Position and Value Marker Problem

Is it possible to place labels vertically for vertical chart, not horizontally as it is by default? (i.e. in the third chart rotate labels by 90 degree on the right ) :roll:
by chechaquo
Thu Oct 30, 2008 9:11 am
Forum: JFreeChart
Topic: "Tooltip" behavior in StackAareaChart..is there a
Replies: 10
Views: 22318

I tested same code with jfreechart-1.0.5. This time diagram was rendered correctly, but it had problems with tooltip (displaying values for E not for C)
by chechaquo
Tue Oct 28, 2008 1:08 pm
Forum: JFreeChart
Topic: "Tooltip" behavior in StackAareaChart..is there a
Replies: 10
Views: 22318

Hello, I'm using jfreechart-1.0.11. I was playing with deepika 's class: I replaced createDataset method with code below: private static CategoryDataset createDataset() { DefaultCategoryDataset dataset = new DefaultCategoryDataset(); dataset.addValue(0.0, "A", "2006"); dataset.addValue(0.0, "A", "20...