Search found 43 matches

by Chen
Mon Aug 03, 2009 4:29 pm
Forum: Java
Topic: how to set different scale for axis(log+linear mixed)
Replies: 1
Views: 6350

how to set different scale for axis(log+linear mixed)

Hi, We are doing cumulative probability chart using Teechart Java version. There is a request to set mixed scale for Y-axis. 0-5% and 95%-100% is in logarithm, and 5%-95% is regular linear scale. I did not find any existing APIs can do it. If not, how to make a customized axis scale? Thanks for your...
by Chen
Wed Apr 15, 2009 2:26 pm
Forum: Java
Topic: Order of series name/title in legend
Replies: 5
Views: 11173

Hi Narcís,
Would you please explain more how can I do in LegendResovler to implement this?


Thanks again,

Chen
by Chen
Tue Apr 14, 2009 3:49 pm
Forum: Java
Topic: Order of series name/title in legend
Replies: 5
Views: 11173

Hi Narcís, Thanks for your reply. I guess there might some misunderstanding here. I know legendResolver can modify each items in legend for display purpose, like a labelProvider in table viewer or so. But, it will not change the order from top to bottom for each item displayed. All I want is to chan...
by Chen
Mon Apr 13, 2009 7:30 pm
Forum: Java
Topic: Order of series name/title in legend
Replies: 5
Views: 11173

Order of series name/title in legend

Currently, legend displays series names/titles based on the order of being added. Is there any way to force legend to show items based on the nature order of data type no matter what? i.e. c1->c2->c3. We can sort series names before adding them to chart but, when the order is changed manually, like ...
by Chen
Thu Mar 26, 2009 3:10 pm
Forum: Java
Topic: setDepth(), setZOrder() method
Replies: 3
Views: 8430

Hi Narcis, thanks for your reply. I know exchange will do for two series. But my purpose is to set the order for multi-series(say 10), not just swap two series. I thought setDepth() or setZOrder() API should do this. Do you know why they dont work?
by Chen
Wed Mar 25, 2009 11:22 pm
Forum: Java
Topic: setDepth(), setZOrder() method
Replies: 3
Views: 8430

setDepth(), setZOrder() method

Basically, I want to set ZOrder/depth of series in a non-3D chart to deal with overlapping cases. I tried a very simple code which is similar to the example of DepthDemo.java in TeeChart.Features.jar as following. com.steema.teechart.styles.Line series1 = new Line(teeChart.getChart()); series1.fillS...
by Chen
Thu Nov 20, 2008 4:19 pm
Forum: Java
Topic: Footer and setText()
Replies: 1
Views: 6506

Footer and setText()

Hi, Why I can not use Tab character in setText() of Footer? import javax.swing.JFrame; import javax.swing.JPanel; import com.steema.teechart.Footer; import com.steema.teechart.TChart; import com.steema.teechart.drawing.Color; import com.steema.teechart.drawing.StringAlignment; import com.steema.teec...
by Chen
Fri Nov 14, 2008 11:23 pm
Forum: Java
Topic: Marks not visible in special cases
Replies: 1
Views: 6550

Marks not visible in special cases

Hi, In some cases Marks are not visible for CustomBar. import javax.swing.JFrame; import javax.swing.JPanel; import com.steema.teechart.TChart; import com.steema.teechart.styles.Bar; import com.steema.teechart.styles.CustomBar; public class Test { public static void main(String[] args) { JFrame fram...
by Chen
Fri Nov 14, 2008 7:30 pm
Forum: Java
Topic: Distance between axis title and axis labels
Replies: 11
Views: 22787

Will you be able to provide a patch for this ??. This funtionality is very important for the look and feel of the chart.

Thanks,
Varun
by Chen
Thu Nov 13, 2008 2:56 pm
Forum: Java
Topic: Distance between axis title and axis labels
Replies: 11
Views: 22787

I know that a bigger size would solve it. But I was not looking for this answer. I want to set it dynamically based on the size of the labels. The axis format can be different based on the type of chart and based on the user input. At least it would have been better if teechart could do it automatic...
by Chen
Wed Nov 12, 2008 7:40 pm
Forum: Java
Topic: Distance between axis title and axis labels
Replies: 11
Views: 22787

package com.amd.ngeda.chart.teechart; import javax.swing.JFrame; import javax.swing.JPanel; import com.steema.teechart.TChart; import com.steema.teechart.styles.FastLine; public class Test { public static void main(String[] args) { JFrame frame = new JFrame(); JPanel panel = new JPanel(); panel.set...
by Chen
Mon Nov 10, 2008 8:45 pm
Forum: Java
Topic: Distance between axis title and axis labels
Replies: 11
Views: 22787

Distance between axis title and axis labels

Hi,

How do we control the distance between axis title and axis labels?
http://picasaweb.google.com/cbvarun/Ste ... 4912540786

Thanks,
Varun
by Chen
Thu Oct 23, 2008 10:59 pm
Forum: Java
Topic: Legend - number of items displayed
Replies: 1
Views: 6280

Legend - number of items displayed

Hi,

Sometimes I will have too many entries in my legend.
I would like to set number of items to be shown in the legend.

I see that there is a setFirstValue(int index) in Legend, but there is no setLastValue(int index) even though I can ask for getLastValue().

Thanks,
Varun
by Chen
Thu Oct 09, 2008 2:48 pm
Forum: Java
Topic: Line chart x axis labels repeating
Replies: 7
Views: 14289

Hi,

I want to see NO duplicate labels and a valid chart.
Sorry I did not understand your question.
If I take my example then I would like to see 1,2,3,4,7,8,9,10, 15. Am I correct? And each series would have a valid(x,y, text) point.

Thanks,
Varun
by Chen
Thu Oct 09, 2008 2:23 pm
Forum: Java
Topic: Line chart x axis labels repeating
Replies: 7
Views: 14289

I have uploaded an image file to your server.
I am using 22, May 2008 version of Teechart for Java.

Thanks,
Varun