Search found 22 matches

by phamdinhnguyen
Thu Mar 18, 2004 10:16 pm
Forum: JFreeChart
Topic: ticklabel in barcharts
Replies: 3
Views: 4756

The relvant line is x_axis.setSkipCategoryLabelsToFit(true);

AdamWarlock, This method setSkipCategoryLabelsToFit(true) is no longer available in the latest release. I've done some scouting in this forum, and found out many developers are facing this same issue. We prefer the solution your recommend: setSkipCategoryLabelsToFit(true). What version of JFreeChart...
by phamdinhnguyen
Thu Mar 18, 2004 6:00 pm
Forum: JFreeChart
Topic: Category Item labels
Replies: 7
Views: 11050

Category labels issues

Clemens, Have you tried to change the orientation of your category labels? I had the same issue, and this is my simple customization for my chart that has too many category labels as well as being long. private void customizeChart(Parms localParm) { localParm.oChart.setBackgroundPaint(Color.getHSBCo...
by phamdinhnguyen
Thu Mar 18, 2004 5:51 pm
Forum: JFreeChart
Topic: x-axis data element maximum
Replies: 7
Views: 10671

Skip category labels

David, It's quite convincing to me that there're many developers need to have the flexibility to skip category labels, which was available in previous versions. I understand that you recommend using "the XYPlot class with a DateAxis for the domain axis". I found myself in agreement with other develo...
by phamdinhnguyen
Mon Mar 15, 2004 5:22 pm
Forum: JFreeChart
Topic: Unix won't display images when X11 is running
Replies: 7
Views: 8564

AIX / JDK 131 / Websphere 403, and X11 DISPLAY problem

Seri, Sorry I didn't answer you sooner. Our development and deployment have both WebServer and AppServer in the same box. If you have them in separate boxes, my strong feeling is that you must have XVFB installed where your AppServer resides, since this is where your Servlet codes make graphic API c...
by phamdinhnguyen
Mon Mar 01, 2004 8:22 pm
Forum: JFreeChart
Topic: skipping labels in category plots
Replies: 16
Views: 27307

skipping (delibrately) x-axis labels... very much needed

Needed back then, and still needed now!!! My chart display total number of transaction over a period of time. A case in point, domain values from midnight to noon: 0000 and 1200, representing as category "0000" through "1200", with 2 minutes between x-values, there are 360 category labels in a chart...
by phamdinhnguyen
Mon Mar 01, 2004 8:07 pm
Forum: JFreeChart
Topic: X-Axis gets too crowded as there are more labels on X-Axis
Replies: 6
Views: 7725

X-Axis gets too crowded ...

I got the same problem of "X-Axis gets too crowded" with a different flavor: My chart has hundreds of x-values, and though I set them with "Axis.setCategoryLabelPositions(CategoryLabelPositions.DOWN_90)", hundreds of category labels become a single long contingous black box. I've scouted many posts ...
by phamdinhnguyen
Mon Mar 01, 2004 7:54 pm
Forum: JFreeChart
Topic: custom itemLabelGenerator
Replies: 1
Views: 4558

custom itemLabelGenerator

If you were describing category labels (domain axis) in your example, one way I think possible is to use the DefaultCategoryDataset. For each value of the x-axis, ie 1000, 777, 333, you derive a associated category string, ie "1000 (100%)", "777 (77.7%)", and "333 (33.3%)", respectively. Then invoki...
by phamdinhnguyen
Mon Mar 01, 2004 7:01 pm
Forum: JFreeChart
Topic: How to hide the x-axis label periodically
Replies: 2
Views: 4689

Hiding the extra x-axis labels

Seems I'm in need of similar task, as in:

http://www.jfree.org/phpBB2/viewtopic.p ... gory+label

Any suggestions? Thanks.
by phamdinhnguyen
Mon Mar 01, 2004 6:37 pm
Forum: JFreeChart
Topic: BarChartDemo - rotation of x-axis labels
Replies: 4
Views: 6991

BarChartDemo - rotation of x-axis labels

Try this: CategoryPlot oPlot; CategoryAxis oAxis; oPlot = oChart.getCategoryPlot(); oAxis = oPlot.getDomainAxis(); oAxis.setCategoryMargin(0.25); // twenty-five percent oAxis.setLowerMargin(0.04); // four percent oAxis.setUpperMargin(0.04); // four percent oAxis.setMaxCategoryLabelWidthRatio(10); //...
by phamdinhnguyen
Mon Mar 01, 2004 5:57 pm
Forum: JFreeChart
Topic: Category Item labels
Replies: 7
Views: 11050

Category Item labels

My chart has large number of categories, ie > 600. All category item labels are crowded over one another resulting in unreadable blacken texts. Is there a (simple) way to: a) display category labels at a fixed interval, say one label for each 30 categories, and b) obviously, need to preserve the cha...
by phamdinhnguyen
Tue Feb 10, 2004 10:03 pm
Forum: JFreeChart
Topic: saving Jpeg to a specified location (linux)
Replies: 13
Views: 24808

Did you check the directory / files access rights?
JAT
by phamdinhnguyen
Tue Feb 10, 2004 9:11 pm
Forum: JFreeChart
Topic: Can't connect to X11 window server using ':0.0'
Replies: 3
Views: 7099

AIX 43/ JDK 131 / Websphere 403, and X11 DISPLAY problem

Apparently your JDK is 14+ version, judging from the setting CATALINA_OPTS="-Djava.awt.headless=true". JDK 14+ enables this option. So stay with that configuration. It's much cleaner. Unfortunately, I don't have that luxury, JDK 131. My environment is shared among many AS, and thus migrating upward ...
by phamdinhnguyen
Tue Feb 10, 2004 6:33 pm
Forum: JFreeChart
Topic: How can i replace X11 window server?
Replies: 6
Views: 9888

X11 installation

AIX 43/ JDK 131 / Websphere 403, and X11 DISPLAY problem My final working solution for AIX, after exhausting all possible settings/configurations with PureJavaAWT, is XVFB. If you MUST get a solution, check out this link for details: http://publibn.boulder.ibm.com/doc_link/en_US/a_doc_lib/aixprggd/a...
by phamdinhnguyen
Tue Feb 10, 2004 6:31 pm
Forum: JFreeChart
Topic: JFreeChart newbie is stucked!!!
Replies: 4
Views: 7225

AIX 43/ JDK 131 / Websphere 403, and X11 DISPLAY problem

Thanks.

My final working solution for AIX, after exhausting all possible settings/configurations with PureJavaAWT, is XVFB.
If you MUST get a solution, check out this link for details:

http://publibn.boulder.ibm.com/doc_link ... Header_363

Best luck!
by phamdinhnguyen
Tue Feb 10, 2004 6:29 pm
Forum: JFreeChart
Topic: Can't connect to X11 window server using ':0.0'
Replies: 3
Views: 7099

AIX 43/ JDK 131 / Websphere 403, and X11 DISPLAY problem

:D
My final working solution for AIX, after exhausting all possible settings/configurations with PureJavaAWT, is XVFB. If you MUST get a solution, check out this link for details:

http://publibn.boulder.ibm.com/doc_link ... Header_363

Best luck!