On the net I have found some examples of JFreeCharts charts that actually present the X axis labels in the way we aim to... http://www.jfree.org/jfreechart/samples.html (in here the Time Series Chart shows many examples where the labelling of the X axis is not linked with the values of the series). and http://www.java2s.com/Code/Java/Chart/Chart2DLineChartWithLargeDataSet.htm I am not sure how they could be related to the Orbeon's configuration... But the option is there in JFreeChart ... somewhere. Eric. -----Message d'origine----- De : Erik Bruchez [mailto:[hidden email]] De la part de Erik Bruchez Envoyé : mercredi, 19. septembre 2007 19:27 À : [hidden email] Objet : Re: [ops-users] [Charts]: How to simplify the categories labels inthe X axis Hi Eric, The first thing to figure out would be whether JFreeChart supports this. If so, then is there a special configuration for JFreeChart to get there, and if not then it probably means that we need to upgrade the chart processor ;-) -Erik [hidden email] wrote: > Here is today's question. > > We are trying to produce a "simple" line chart that displays measures over a period of time. Measures are taken every 15min and we want to display a daily graph. > > Is there an option to produce a graph that would display every points (measure) for the day, BUT only a subset of time labels on the X axis. Presently we have a graph with 96 (one very 15 min) labels on the X axis. > > thanks for any hint on this > > Eric. > > -- Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Eric,
On 9/19/07, Leray Eric <[hidden email]> wrote: > On the net I have found some examples of JFreeCharts charts that actually > present the X axis labels in the way we aim to... This looks similar to the "tick unit" that you can already use for the value axis, but for the category axis. I don't think you can do this right now with chart processor. Essentially we would need to make the category axis a number or date axis. Once this is done you can specify a tick unit for that axis. I have added an RFE (linked below), and this would be a nice feature up for sponsoring, or and of course if you'd like to implement it yourself and can contribute back your changes, we would be glad to put them in. http://forge.objectweb.org/tracker/index.php?func=detail&aid=307589&group_id=168&atid=350207 Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |