lineseries width, Panel transparency

TeeChart for JavaScript for the HTML5 Canvas
Post Reply
BillCII
Newbie
Newbie
Posts: 1
Joined: Tue Aug 13, 2013 12:00 am

lineseries width, Panel transparency

Post by BillCII » Tue Apr 08, 2014 3:39 am

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

Yeray
Site Admin
Site Admin
Posts: 9613
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: lineseries width, Panel transparency

Post by Yeray » Tue Apr 08, 2014 10:59 am

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.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply