Search found 43 matches
- Fri Jul 11, 2014 11:41 am
- Forum: JavaScript / HTML5
- Topic: Chart margins
- Replies: 2
- Views: 7706
Re: Chart margins
It actually does help, though. Thanks!
- Wed Jul 09, 2014 3:32 pm
- Forum: JavaScript / HTML5
- Topic: Chart margins
- Replies: 2
- Views: 7706
Chart margins
Can I control the margins around the chart, especially to the left of the left axis? The HTML container that holds the chart already include padding/margins, and it's not necessary for the chart to add more. I took a wild guess and tried Chart1.axes.left.calcMargins = function() { return 0; } but it...
- Wed Jul 09, 2014 3:19 pm
- Forum: JavaScript / HTML5
- Topic: Bar spacing
- Replies: 1
- Views: 6528
Bar spacing
When I show two bar series in the VCL version, I get two bars for each point directly adjacent to each other with spacing between the points. In the JS version, all bars are uniformly spaced, making it difficult to see where one point ends and the next starts. (This is with the output directly from ...
- Wed Jul 09, 2014 2:32 pm
- Forum: JavaScript / HTML5
- Topic: Gradients and colorEachPoint
- Replies: 4
- Views: 10256
Re: Gradients and colorEachPoint
Thanks. I'll look for some alternatives to patterns (wasn't wild about them anyway).
- Fri Jul 04, 2014 5:44 pm
- Forum: JavaScript / HTML5
- Topic: Gradients and colorEachPoint
- Replies: 4
- Views: 10256
Re: Gradients and colorEachPoint
Thanks Yeray, looks like there's a lot of control possible. (I could never have figured this out myself from the docs though.)
We also uses patterns in the bars sometimes, in addition to the gradients. Can this be done?
Thanks.
We also uses patterns in the bars sometimes, in addition to the gradients. Can this be done?
Thanks.
- Thu Jul 03, 2014 12:10 pm
- Forum: JavaScript / HTML5
- Topic: Legend
- Replies: 3
- Views: 8900
Re: Legend
Thanks again!
BTW, is http://www.steema.com/files/public/teec ... index.html the most up to date documentation? I think I could answer some of these questions myself if it were fleshed out more. E.g., there is nothing on legend, no shadow under Tee.Font.
Jim
BTW, is http://www.steema.com/files/public/teec ... index.html the most up to date documentation? I think I could answer some of these questions myself if it were fleshed out more. E.g., there is nothing on legend, no shadow under Tee.Font.
Jim
- Wed Jul 02, 2014 8:07 pm
- Forum: JavaScript / HTML5
- Topic: Gradients and colorEachPoint
- Replies: 4
- Views: 10256
Gradients and colorEachPoint
Hi, when a bar series has a single color gradient it shows fine. When the series shows colors that go from green to yellow to red, the 2nd gradient color on all bars is red (I assume since that is the color of the last bar shown). Can a pair of gradient colors be specified for each point? Note that ...
- Wed Jul 02, 2014 2:35 pm
- Forum: JavaScript / HTML5
- Topic: Legend
- Replies: 3
- Views: 8900
Legend
Two quick questions:
- is there an equivalent to the VCL Legend.FontSeriesColor?
- When there is only one series, the legend shows every point (like "[ ] 151.14 2014 [ ] 153.53 2015 etc...") instead of the series title. Can we make it always show the title?
- Wed Jul 02, 2014 1:06 pm
- Forum: JavaScript / HTML5
- Topic: Text blur (shadow?)
- Replies: 3
- Views: 8952
Re: Text blur (shadow?)
Yeray, yes, that did it! Looks beautiful.
Jim
Jim
- Tue Jul 01, 2014 6:29 pm
- Forum: JavaScript / HTML5
- Topic: Text blur (shadow?)
- Replies: 3
- Views: 8952
Re: Text blur (shadow?)
Now with attachments!
- Tue Jul 01, 2014 6:16 pm
- Forum: JavaScript / HTML5
- Topic: Text blur (shadow?)
- Replies: 3
- Views: 8952
Text blur (shadow?)
Hi, me again :) What property do I use to get rid of the blur behind the title and legend text? (See the attachments). I have shadows turned off (format.shadow.visible=false). Note that if I hide symbols in the legend, then all four of the legend texts have the blur like "Scenario 1". Also, is there...
- Tue Jul 01, 2014 4:44 pm
- Forum: JavaScript / HTML5
- Topic: Chart in Canvas sized to 100%
- Replies: 5
- Views: 12335
Re: Chart in Canvas sized to 100%
I don't see a problem with sizing the canvas. If you use: <canvas id="Canvas1" style="height: 100%; width: 100%;"> and inspect the elements, the canvas is correctly sized. It's just that the chart doesn't draw correctly. FWIW, I have found a workaround. I am starting with the HTML generated by TeeSa...
- Mon Jun 30, 2014 3:46 pm
- Forum: JavaScript / HTML5
- Topic: Why <iframe>?
- Replies: 3
- Views: 11257
Re: Why <iframe>?
The second example (http://www.steema.com/files/public/teec ... 1.4/demos/) is also using an iframe. See the attached screen shot of a Chrome session.
- Mon Jun 30, 2014 3:38 pm
- Forum: JavaScript / HTML5
- Topic: Chart in Canvas sized to 100%
- Replies: 5
- Views: 12335
Re: Chart in Canvas sized to 100%
Yes, that works: you're using a fixed-size canvas. I am doing something like "<canvas id="canvas1" style="width: 100%;" height="400">". Is it not possible?This seems to work fine for me here:
<canvas id="canvas1" width="600" height="400">
Thanks,
Jim
- Fri Jun 27, 2014 6:27 pm
- Forum: JavaScript / HTML5
- Topic: Why <iframe>?
- Replies: 3
- Views: 11257
Why <iframe>?
All of your examples I've seen place the canvas in an iframe. Is there something special about that? I would guess it's because a) you get a resize event to redraw the Chart, and b) it handles output from TeeSaveToJavascriptFile.
Thanks.
Thanks.