Search found 13 matches

by vijay
Tue Dec 06, 2005 4:02 pm
Forum: JFreeChart
Topic: Symbol axis setting lower and upper margin to zero
Replies: 0
Views: 2026

Symbol axis setting lower and upper margin to zero

Hi I have Symbol Axis for which i don't want a lower margin and upper margin. I am not using autoRange. I am using my own range. What should i set to get the lowerMargin and upperMargin to not exist. I tried setting lowerMargin to zero and upperMargin to zero it doesn't work. I got lowerMargin to ze...
by vijay
Fri Dec 02, 2005 4:27 pm
Forum: JFreeChart
Topic: Align center of Bar rendered by XYBarRenderer with the grid
Replies: 3
Views: 7584

Another mistake i identified is that - I was setting the achor to wrong value.

It should have been TextAnchor.CENTER_LEFT

Thanks,
Vijay Venkataraman
by vijay
Fri Dec 02, 2005 3:40 pm
Forum: JFreeChart
Topic: Align center of Bar rendered by XYBarRenderer with the grid
Replies: 3
Views: 7584

Sorry folks. There was some misunderstanding of concepts from my end and the data values are wrong. I have been able fix the problem, Point 1 of my previous post. While aligning the tick labels exactly below the tick marks remains.

Thanks,
Vijay Venkataraman
by vijay
Thu Dec 01, 2005 2:53 pm
Forum: JFreeChart
Topic: Align center of Bar rendered by XYBarRenderer with the grid
Replies: 3
Views: 7584

Align center of Bar rendered by XYBarRenderer with the grid

Hi While trying get around with not able to set the data area on category plot i am stuck with the following problems using XYPlot. I have tried out few steps from my end, i have the following requirement: 1. I want the vertical grid line of the plot to pass throught the mid point of the Bar rendere...
by vijay
Wed Nov 30, 2005 12:51 pm
Forum: JFreeChart
Topic: Caculate bounds occupied to render legends in a plot.
Replies: 1
Views: 2505

Caculate bounds occupied to render legends in a plot.

Hi I am generating few charts and converting them to images. These charts are different representation for the same data. The different images generated has to have the same height, this means that the height of data area for different graphs has to be the same The need is to display all graphs side...
by vijay
Wed Nov 30, 2005 12:39 pm
Forum: JFreeChart
Topic: Choose one of predefined shapes in XYLineAndShapeRendere
Replies: 1
Views: 3815

Choose one of predefined shapes in XYLineAndShapeRendere

Hi When we render using XYLineAndShapeRenderer / LineAndShapeRenderer, we dont have control over the shape that will be rendered. I see for most cases it is square, reactangle and circle. Can we choose the shape? If it is not the case, it is a nice to have in my option. Providing few shapes that are...
by vijay
Wed Nov 30, 2005 12:24 pm
Forum: JFreeChart
Topic: Rotate labels of numberic and symbol axis by defined angle.
Replies: 3
Views: 4055

Hi Dave, Thanks for all the responses. I am able to get the labels rotate for now by overriding the method On rc3 probably aka branch STABLE_1-0-0 public List refreshTicks(Graphics2D g2, AxisState state, Rectangle2D dataArea, RectangleEdge edge) This method is used internally in ValueAxis at drawTic...
by vijay
Wed Nov 30, 2005 6:52 am
Forum: JFreeChart
Topic: Rotate labels of numberic and symbol axis by defined angle.
Replies: 3
Views: 4055

Rotate labels of numberic and symbol axis by defined angle.

Hi
Is it possible to have the labels of Symbol axis / numeric axis rotated by defined angle. I was able to accomplish this in CategoryAxis with the available apis. Is there a api or a interface which i can extend to accomplish this.

Thanks,
Vijay Venkataraman
by vijay
Tue Nov 29, 2005 9:56 am
Forum: JFreeChart
Topic: Howto: Fixed height for the chart area?
Replies: 11
Views: 12781

Thomas Isomaki,
The problem i have in hand is identical to that of yours. Do you have any tips that you can let me know, so that i can start tweaking the code as well.


Thanks,
Vijay
by vijay
Fri Nov 25, 2005 4:21 pm
Forum: JFreeChart
Topic: set size of chart data area.
Replies: 1
Views: 2632

set size of chart data area.

Hi,

I have multiple graphs in which the x and y grids spacing is expected to be of same size. Is there a way i can control the dataarea of the plot. Any pointers how i can go about doing this.


Thanks,
Vijay
by vijay
Fri Nov 25, 2005 3:26 pm
Forum: JFreeChart
Topic: margin not honoured using LineAndShape renderer.
Replies: 1
Views: 2995

margin not honoured using LineAndShape renderer.

I have a overlaid chart where with category data set. All data sets are rendered by LineAndShape renderer. Setting the lowerMargin and upperMargin to zero is not honoured. I have modified the OverLaidBarcharDemo1 to reflect the requirement. The change being, instead of a bar renderer for the first d...
by vijay
Mon Nov 21, 2005 9:28 am
Forum: JFreeChart
Topic: Rendering Custom color for the Bars (Newbie)
Replies: 2
Views: 3395

Hi Dave, Thanks for letting me know how i can get this done. My use case is kind of different, hence i am having to do this little tweaking. I have a purchased copy of the developers guide through one of our colleagues. I have been going through the documents. I have few feedback which i will post s...
by vijay
Thu Nov 17, 2005 3:44 pm
Forum: JFreeChart
Topic: Rendering Custom color for the Bars (Newbie)
Replies: 2
Views: 3395

Rendering Custom color for the Bars (Newbie)

Hi, I have a single row and multiple columns for BarChart and i would like to control the color of each bar. Can anyone let me know i can achieve this. Here is the snippet of my dataset. DefaultCategoryDataset dataset = new DefaultCategoryDataset(); dataset.addValue(11.0, "S1", "C1"); dataset.addVal...