Is there a way to hide a JFreeChart XYSeries yaxis?
The yaxis is meaningless on logic analyzer display.
|
Hi i plot a timeseries graph with some data like this.
TimeSeries timeSeries=new TimeSeries("Time");
Calendar date=Calendar.getInstance();
System.out.println(date.getTime());
...
|
|
Hi i am using Cewolf which uses Jfreechart,i have a range of values from 0-5 for Y-axis,instead of showing 0,1,2,3... ,it displays as 0.0,0.5,1.0 and it makes more than 10 marks to reach upto 5. how can i restrict it upto 5 marks only that is 0,1,2,in short,displaying values in Integer format Thanks |
Friends, Is it possible that we instruct the Y-axis to start from a particular position? if so, could you please let me know how can we achieve this? I have a NumberAxis as Y-axis and for one of the series, most of the values are around 0 and 1. if there's an odd very high number peak in my series some ... |
|
StackedBarChart3D problem with y-axis (number axis) by Ranjith Tue Oct 25, 2005 12:55 pm Hi All, I have to display a status chart using StackedBarChart3D. I am getting data like this from DB: Month Assigned Unassigned GateKeeper InProgress Completed ------------------------------------------------------------------------------------- Aug 0 0 0 0 0 Sep 0 0 0 0 0 Oct 99 0 53 36 3 Nov 0 ... |
|
Hi All, I am facing a problem with Number Axis. My Y-axis is Number Axis, I am setting upper bound and lower bound for it explicitly and then I am specifing the tick unit. //this is the code rangeAxis.setUpperBound(upperBound); rangeAxis.setLowerBound(lowerBound); NumberTickUnit tickUnit = new NumberTickUnit((upperBound-lowerBound)/10); rangeAxis.setTickUnit(tickUnit); It works fine in some cases. For ex: if my lowerBound is 100 and upper ... |
Hi, I need to graph values that start from 1000 or higher in the y-axis. However the graph always starts the scale from 0. In the x-axis (which is time scale) it starts with the minimun value in the series. Is there a way to scale the y-axis such that it starts from the minimun y-value from the series? On a ... |
|
|
I am trying to create an XY graph with data from a db. I've noticed that when the XY Graph autoscales, it always defaults the y-axis to start at 0, even though all the values may be in the 200's. Is there a way to change this so that it auto scales based on the data. I know that I can ... |
HI, I am new to JFreeChart and Cewolf. I need to produce a graph having 2 y-axis using CEWolf. I was successful in creating 2 y-axis graph by JFreeChart using the "BarChartDemo1.java" by adding the below code in that file. ****************************** plot.setRangeAxis(0, rangeAxis0); plot.setRangeAxis(1, rangeAxis1); plot.setDataset(0, dataset1); plot.setDataset(1, dataset2); plot.mapDatasetToRangeAxis(0, 0); plot.mapDatasetToRangeAxis(1, 1); ****************************** I got "BarChartDemo1.java" from "jfreechart-1.0.0\source\org\jfree\chart\demo" folder in ... |
|
I have subclassed DateAxis and overrode method from class Axis to achieve specific label position. Code: Select all protected AxisState drawLabel(String label, Graphics2D g2, ... |
|
I'm using JFree Chart 9.20 I would like to know what the property is for setting the zero point of the y-axis (number axis) to be in the center when there are (-)ve and (+)ve values being displayed on a category chart. At the moment, (-)ve values on the y-axis are shown on the top of the x-axis (domain axis) along ... |
|
Hi, I have a problem - I use TimeSeriesChart. I add three series: Code: Select all TimeSeriesCollection timeSeriesCollection = new TimeSeriesCollection(); TimeSeries node1 = new TimeSeries("Node1", Minute.class); node1.add(new Minute(new Date(1900, 0, 0, 1, 0)), 1); node1.add(new Minute(new Date(1900, 0, 0, 1, 59)), 1); node1.add(new Minute(new Date(1900, 0, 0, 2, 0)), null); node1.add(new Minute(new Date(1900, 0, 0, 3, 0)), 1); node1.add(new Minute(new ... |
|
Code: Select all chart.setBackgroundPaint(Color.white); XYPlot plot = chart.getXYPlot(); plot.setDomainCrosshairVisible(true); plot.setRangeCrosshairVisible(true); plot.getDomainAxis().setAutoRangeMinimumSize(1); ... |
by jimmy Thu Jun 15, 2006 4:18 pm I made some changes to DefaultPlotEditor Here's what I did, for anyone interested.... Code: Select all /** * A panel used to display/edit the properties of the range axis (if any). */ private DefaultAxisEditor ... |
Hi, Currently, I'm using a Bar-Chart in witch I want to print a duration in the Y-axis. The duration is in seconds and I want to apply a pattern on it, like this : what I have -> what I want to be printed 235380 sec -> 65h 23min 3456 sec -> 57min 36sec ... Is there a DurationAxis like the ... |
|
We need to show a mixed graph, with line and bar charts. So we have two Y-axis at the ends of the graphs. Now the problem is that we have a large data set points for x-axis, so as we scroll to middle of the chart both the Y-axis are not visible. We need to show both the Y-axis at any ... |
|
|
|
Hello Can i control the value displayed on the NumberAxis as per my dataset values.e.g i have around 8 series with stacked bar having highest total value as 10 and 1 series having highest total value of 200.If all 9 series are plotted the with equal Y-axis distribution,my individula stack distribution of 8 series is not visible.So can i have a ... |
|
|
Hi, is it possible to have a Domain Axis that is crossing the ValueAxis above the 0-line? For example: - ValueAxis goes from 0-200. - DomainAxis is crossing at 100 A value of 80 would cause a bar with negative alignment of 20 in relation to the DomainAxis. Any hint would be grateful appreciated Thanks Daniel |
Hi, I am developing a chart application that needs to draw some lines in a plot (a fibonnaci series in a stock market chart tbh) based on the mousedrag start and finish points. Right now, to draw the lines in the plot I'm using XYLineAnnotation, because I think it is the best way to keep the info on redrawing actions, such ... |
|
|
Hi, I am quite new using JFreeChart. I want to display a barchart but when all values are zero it only displays 0.0000 on the Y-axis. How can I fix this value to 100 % ... so it will always display a range of values in the Y-axis from 0 % to 100%?? Code: Select all DefaultCategoryDataset objDatos ... |
No. .... Imagine being able to reverse the entire view(everything), so that the Y-Axis is being drawn on the right side(instead of left) and the X - Axis is updating(if real-time from the left side as oppose to the right side(Y Axis on left side)). The drawn dataset is obviously reversed too. This is a common feature in Financial charting. I ... |
|
|
|
|
Hi, I am using the y-axis to represent drill hole depth. At multiple points along the depth, I have various scalar data e.g. temperature, pressure, density etc.. What chart should I use to plot multiple variables with different units on the same chart. I'd like to be able to orientate the plot like this temperature -------->X density -------->X pressure -------->X | ... |
|
i dont want y-axis values in hindi by ravindarjobs Sat Nov 03, 2007 10:20 am hello friends, i copied this code from a forum and executed to get a line graph. It executed well but the y-axis values are being displayed in hindi. how to make the numbers display in english? import java.awt.BasicStroke; import java.awt.Color; import java.awt.Dimension; import org.jfree.chart.ChartFactory; import ... |
|
Hi, I am using cewolf to display a chart on a web site. The range of y-values on my chart is around 29-37. When I use the cewolf chart tag, the y-axis appropriately displays these values with a little on either end from 28-38. However, when I use the overlaidchart tag, the y-axis starts all the way down at zero where ... |
|
Hi, I have a problem with displaying y-axis values because the y-axis value is long. For instance, my y-axis value is something like below: 345.987987902004 345.987987902003 345.987987902002 345.987987902001 345.987987902000 And because the y-axis value is long, I only able to see 987902004 987902003 987902002 987902001 ... Something like that. Is there anyway that I can expand the area so that I ... |
Hello folks, I'd like to know how to resize the Y-axis when I do a setRange() on a X-axis. I'll try to explain myself better. Let's figure out we have a dataset created as a TimeSeriesCollection. A time series that starts from 1990 thru 2000 for example. And the values inside the serie has an exponential grow. For example: 1990, 10; ... |
|
|
|
Hi, I have a task to make the chart looks as a square, i.e. the X-axis and Y-axis are the same length. I am using the XY-Plot. I am thinking to 1. get the avaiable X-axis length and Y-axis length 2. set both of the axises length as the smaller lentgh. But I can not find the API do that. Can ... |
Hello all, I have a bar chart with y axis having ticks like 100, 200, 300.... I am displaying the chart in the horizontal position. So the bar chart is finally having y axis labels on the top (horizontally) as shown below. -|--100---200---300---y | | | |x Can i set the position of the y axis labels so that the labels ... |
|
hello, i use the freechart panel MultipleAxisDemo1.java, When I click a checkbox at my GUI then a line is added onto the freechart panel, if this line needs a new y-axis then a new y-axis is added with the appropriate label, My question now is whether it is possible first to look up the labels at the y-axis and if I ... |
|
|
Hi, I'm using jFreeChart to draw graphics on my aplication and everything is working well. However, there is a small detail that I am not able to implement and that is: When I draw a Time Series Chart and the values of the y-axis are allways the same, the value don't apear on the y-axis. For example, if I have: point ... |
Hi folks, i am very new to Jfree. i would like to use jfreechart api's to develope a xychart. on x-axis i would like to populate with date values and on y-axis with some values. how to set initial and final values for both the axis and how to set range between each value.. is there any tutorial which could help ... |
|
Hallo. First: Sorry for my bad english. I want to create a timeseries chart without numeric values on the y-axis, but with text-labels. Something like this (sorry, i can't post images) Code: Select all Very Good Good Bad ... |
Add an extra Y-Axis by BenJam Wed Apr 08, 2009 8:32 am Hello all, i need an extra Y-Axis or an extra Bar for my BarCharts which i can place anywhere on the X-Axis. My BarChart looks like this, now: and should look like this for example (edited with paint): my code is: Code: Select all import java.awt.BasicStroke; import java.awt.Color; ... |
|
Removing decimal fractions from TimeSeries y-axis by visha80 Wed Dec 09, 2009 6:40 am Hi, after looking at the FAQ, I saw that I can remove the decimal fractions by the following: Code: Select all NumberAxis rangeAxis = (NumberAxis) plot.getRangeAxis(); rangeAxis.setStandardTickUnits(NumberAxis.createIntegerTickUnits()); I am having trouble doing that in my TimeSeries chart though. From where do I get the NumberAxis? This ... |
I`m a newbie to JFreeChart. I`ve a question related to the value of yAxis. As usual, the value of yAxis column might be: 0, 2000, 4000, 6000, 8000. But I want a Swiss style like this: 0, 2'000, 4'000, 6'000, 8'000. I google everywhere but nothing could find. Could anybody can help? Here is my code: import java.text.DecimalFormat; import org.jfree.chart.ChartFactory; import ... |
Y-axis lable not coming by RohitDutt Wed Mar 31, 2010 12:41 pm Hi, My jfreechart java class is used to generate two kind of bar charts. Same code is being used for both of these charts. For chart 1- X-axis = date , Y-axis=calories burnt by exersice Chart2: X-axis = week , Y-axis=count of exersice done in this week (can ... |
Code: Select all public Chart(final String title) { super(title); series = new TimeSeries("Bitrate Chart", Second.class); dataset = new TimeSeriesCollection(series); ... |
|
Hi All, I stuck in one issue . I am working on Scatter Plot graph. Issue is whenever I am setting a series point shaped is circle at (0,23). It is not overlapping to Y-Axis. and half part of the circle which is outside of X-Y plot is not visible. Simply , I am able to see only half right circle, ... |