Search found 60 matches

by Jonathan
Mon Jun 10, 2013 4:34 pm
Forum: Java
Topic: How to add colorLine to chart legend
Replies: 9
Views: 27701

Re: How to add colorLine to chart legend

Hi, I need one more help. Hopefully, this is the last one. ;) Question: How to display the colorLine behind the chart legend and in front of data? In the following sample code, I have two colorLines (one is in blue and the other is in red), and I place a chart legend with custom positions. By defaul...
by Jonathan
Tue May 28, 2013 7:35 pm
Forum: Java
Topic: How to add colorLine to chart legend
Replies: 9
Views: 27701

Re: How to add colorLine to chart legend

Hi Yeray,

Thanks. FastLine works in this case.
by Jonathan
Fri May 24, 2013 8:49 pm
Forum: Java
Topic: How to add colorLine to chart legend
Replies: 9
Views: 27701

Re: How to add colorLine to chart legend

Hi, I need another trick. ;) Although the following problem could be a different problem, I am asking you here since it is regarding to add labels on chart legend. Problem: Symbols for labels get changed to rectangle instead of line if I have following lines of codes. chart.getAspect().setView3D(tru...
by Jonathan
Fri May 24, 2013 3:41 pm
Forum: Java
Topic: How to add colorLine to chart legend
Replies: 9
Views: 27701

Re: How to add colorLine to chart legend

Cool. Thanks. I like the trick. :wink:
by Jonathan
Wed May 22, 2013 2:55 pm
Forum: Java
Topic: How to add colorLine to chart legend
Replies: 9
Views: 27701

Re: How to add colorLine to chart legend

Hi, I have cases where I have multiple colorlines on a bar chart. Users want to add labels on each colorline on chart legend if possible. I don't know if I miss it on the tutorial page, but I can't find a way to add new custom labels on chart legend. For example, as I attached a sample code and imag...
by Jonathan
Mon May 20, 2013 4:25 pm
Forum: Java
Topic: How to add colorLine to chart legend
Replies: 9
Views: 27701

How to add colorLine to chart legend

Hi, I have a simple bar chart and I draw a line using ColorLine object to set a limit. (I attached an image to illustrate my point) Is there a way to add the colorline to chart legend? I couldn't find any API to do that. If not, what is alternative way to achieve this? public static void main(String...
by Jonathan
Mon Aug 06, 2012 3:14 pm
Forum: Java
Topic: Bars are missing on single X category with Side option
Replies: 5
Views: 15961

Re: Bars are missing on single X category with Side option

Hi Yeray,

Since the max. allowed size is 512 KB, I had to remove the lib file. I attached the whole testing application (using Eclipse) in zip. What version of teechart lib were you using? Was it same one as mine (version2) ?
by Jonathan
Mon Aug 06, 2012 3:07 pm
Forum: Java
Topic: Mark Label is missing when there is a single bar
Replies: 8
Views: 23919

Re: Mark Label is missing when there is a single bar

Hi Yeray,

Since the max. allowed size is 512 KB, I had to remove the lib file and I attached the exported eclipse zip file. BTW, What version of Teechart lib are you using? I am using Teechart version 2. (I also tried with TeeChartJavaSuite_2012Eval.zip)
by Jonathan
Fri Aug 03, 2012 4:38 pm
Forum: Java
Topic: Mark Label is missing when there is a single bar
Replies: 8
Views: 23919

Re: Mark Label is missing when there is a single bar

Hi Yeray,

I don't see that expected chart in my end. I attached a chart when I ran the sample codes above. As you can see, I don't see the bar label "10".
by Jonathan
Fri Aug 03, 2012 4:33 pm
Forum: Java
Topic: Bars are missing on single X category with Side option
Replies: 5
Views: 15961

Re: Bars are missing on single X category with Side option

Hi Yeray, Your chart is exactly what I expect to see. However, for some reasons, I am not getting that chart, but the following instead: (With Teechart V2 version and TeeChartJavaSuite_2012Eval.zip, I am seeing the same result - missing bars [missing red series in the sample codes]) I attached mine:...
by Jonathan
Tue Jul 24, 2012 4:07 pm
Forum: Java
Topic: Mark Label is missing when there is a single bar
Replies: 8
Views: 23919

Mark Label is missing when there is a single bar

Hi, I created a simple pareto chart, and I noticed that mark label is missing when there is a single bar. Is there a fix for this? Here is run as it is to illustrate the issue above: public static void main(String[] args) { JFrame frame = new JFrame(); JPanel panel = new JPanel(); panel.setSize(600,...
by Jonathan
Tue Jul 24, 2012 4:01 pm
Forum: Java
Topic: Bars are missing on single X category with Side option
Replies: 5
Views: 15961

Bars are missing on single X category with Side option

Hi, I created a simple pareto chart, and I found a bug; I noticed that bars (after the first bar) are missing when I have multiple bars on the same X category with marks labels being displayed and with MultiBars.SIDE. Is there a fix for this? here is run as it is to illustrate the problem above publ...
by Jonathan
Wed Apr 11, 2012 2:23 pm
Forum: Java
Topic: How to sort legend items along with its symbols
Replies: 9
Views: 61179

Re: How to sort legend items along with its symbols

Thanks for your feedback. While waiting for your feedback, I actually come up with simpler solution, which is similar to the hiding series in the legend in your latest answer. //add 2 line series Line line2 = new Line(tChart1.getChart()); line2.add(1, 2); line2.add(2, 3); line2.add(3, 4); line2.setC...
by Jonathan
Fri Apr 06, 2012 6:59 pm
Forum: Java
Topic: How to sort legend items along with its symbols
Replies: 9
Views: 61179

Re: How to sort legend items along with its symbols

Hi Yeray, I have symbols on chart. When I play with the codes you suggested, I found that legend symbols doesn't get rendered properly. Could you tell me how to render the legend symbols correctly? The example below, I added two series: one with START shape and the other with CIRCLE shape. After sor...
by Jonathan
Mon Apr 02, 2012 7:06 pm
Forum: Java
Topic: How to sort legend items along with its symbols
Replies: 9
Views: 61179

Re: How to sort legend items along with its symbols

Thanks for your help. It'd be great if your suggestion could be built-in APIs