Page 1 of 1

lineseries width, Panel transparency

Posted: Tue Apr 08, 2014 3:39 am
by 17766750
I could use some help. I have never been able to get the chart to react to any attempt to get the chart panel or background to disappear. Becoming plain white would work as well. The other thing I have not been able to do is to increase the width of the line series. I have been quite successful in zooming and scrolling and synchronizing, but I just need a hint on the syntax of some of these simpler things.
Thanks!
Bill

Re: lineseries width, Panel transparency

Posted: Tue Apr 08, 2014 10:59 am
by yeray
Hi Bill,
BillCII wrote:I could use some help. I have never been able to get the chart to react to any attempt to get the chart panel or background to disappear. Becoming plain white would work as well. The other thing I have not been able to do is to increase the width of the line series. I have been quite successful in zooming and scrolling and synchronizing, but I just need a hint on the syntax of some of these simpler things.
Here you have a simple code snipped that seems to do both features you demand:

Code: Select all

function draw() {
  Chart1=new Tee.Chart("canvas1");
  
  s = new Tee.Line().addRandom();
  Chart1.addSeries(s);
  s.format.stroke.size=3;
  
  Chart1.panel.transparent=true;
  Chart1.walls.back.visible=false;
  
  Chart1.draw();
}
Don't hesitate to let us know if you still find problems with it.