Using JFreeChart I have a plot with a LogAxis with tick marks on the domain axis of an XYPlot that are determined automatically based on the width of the graph. My ... |
In the bar chart that I am trying to display I see that because some range values are really high some of the lower value bars are not visible at all. ... |
I'm interested in building a graph where one of the axes is inverse logarithmic. In other words, if a graph with a logarithmic y axis shows the function y=10^x as a straight line, I'd like a graph where y=log(x) is a straight line. I don't see any way to do this with the LogarithmicAxis, though. Is this currently supported in jfreechart? ... |
|
I think so, try the setAllowNegativesFlag() method. I don't use this code myself (someone contributed it) and I know there are some feature requests and/or patches at SourceForge that need looking at. You might want to look through those, because other people have suggested various different approaches. Hopefully one day I'll find the time to look at them... |
|
|
|
Hi, I want to dispaly a logarithmic yAxix with small values(between 1 and 10e-5) The problem I encounter is that JFreeChart refuses to draw any tickmarks and labels, so there is no tick at 0.1 , 0.01 , ... as I would like. I tried setting the AllowNegativesFlag to false, but that doesn't help. Could someone help me here. |
Hi, I have bar charts with y axis as logarithmic charts. I have many such charts with diffrent ranges. When the dataset has very low to very high values, tick labels are fine. But when I have dataset with only one value of datasets with less range, the tick labels don't appear. Does anyone know a solution for this ? Anjana ... |
|
Hi everybody! i have to draw a graph where the values can be really different..like don't know..10 and 1000. so i would like to show on the axis just the value i have (it is logarithmic, isn't?) something else i have another graph that has to be on porcentual..so i need to add the simbol % near the value on the ... |
Hi, I am working on a line chart that has logarithmic axis for both x and y. The data range is over several decades and I would like exponential numbers on the axis. Example: 0.00000001 doesn't look good. I would like to see 1.0e-9 or 10-9 or something like that. Does anyone know how to do this? If log axis are ... |
Hi all, I have created a chart which permits to switch from Number axis to logarithmic axis. My problem is : when I have some negative or zero values in my serie the logartihmic axis create an exception ( this is logic). So I would like to erase the data which are equal to 0 or negative of my serie when ... |
Hi, I've a problem drawing ticks on my chart. At the moment it looks like this: but it should look like this: Below is the code that I've tried so far: Code: Select all JFreeChart myLineGraph = ChartFactory.createXYLineChart(title, xAxis, yAxis, xyDS, PlotOrientation.VERTICAL, setLegend, setTooltip, false); ... |
Hi! I've got a XYSeries of many values between 0.00000 and 0.001. The graph in my chart, with a logarithmic Y-axis, looks fine, but the values on the Y-axis are not accurate enough - they are cuted after the third digit behind the dot. So I've got several "0"-TickLables on my Y-Axis. Does anybody can give me a hint, how I ... |
|
|
Busy week, but managed to find some time yesterday to look at this problem again... I was able to get the java2DToValue and valueToJava2D methods to work properly. Along with the autoAdjustRange methods. So the data are now displayed on the screen properly. To achieve this with minimum impact on the rest of the class, I wrote 2 mehods: Code: Select ... |