Search found 43 matches

by Jim Green
Thu Dec 04, 2014 5:51 pm
Forum: JavaScript / HTML5
Topic: Transparent annotations?
Replies: 2
Views: 9816

Re: Transparent annotations?

Yes, that works. Thank you!
by Jim Green
Tue Dec 02, 2014 4:28 pm
Forum: JavaScript / HTML5
Topic: Transparent annotations?
Replies: 2
Views: 9816

Transparent annotations?

Can the background of an Annotation be made transparent?

Thanks.
by Jim Green
Tue Sep 23, 2014 1:53 pm
Forum: JavaScript / HTML5
Topic: Printing
Replies: 6
Views: 17739

Re: Printing

Yes, it does seem to work, but so far only in Chrome :-( The chart is still cutoff in Firefox 32 and IE 9. What did you test it with?

Thanks for the help!

Jim
by Jim Green
Fri Sep 19, 2014 3:49 pm
Forum: JavaScript / HTML5
Topic: Printing
Replies: 6
Views: 17739

Re: Printing

Isn't it correct?
The printout does not show years 2025-28. Other elements (title, axis title, legend) are also shifted to the right.

TeeChart seems to think that the Canvas area is wider than it really is.

Jim
by Jim Green
Thu Sep 18, 2014 8:08 pm
Forum: JavaScript / HTML5
Topic: Printing
Replies: 6
Views: 17739

Re: Printing

Hello, were you able to reproduce this?

Jim
by Jim Green
Wed Sep 10, 2014 5:05 pm
Forum: JavaScript / HTML5
Topic: Printing
Replies: 6
Views: 17739

Printing

Hi, when I first started with Tee.js, I had trouble showing a chart sized to all of its parent with {width: 100%; height: 100%;}. This was addressed with some JS code on the body.resize event: function resize() { var body = document.body; var canvas = Chart1.canvas; canvas.width = body.clientWidth; ...
by Jim Green
Thu Aug 14, 2014 2:43 pm
Forum: JavaScript / HTML5
Topic: Bar patterns
Replies: 5
Views: 15917

Re: Bar patterns

Sorry! Should have thought of that...
by Jim Green
Wed Aug 13, 2014 4:34 pm
Forum: JavaScript / HTML5
Topic: Bar patterns
Replies: 5
Views: 15917

Re: Bar patterns

Thanks. FWIW, I added tiling by adding a "style" property to ChartImage and using createPattern/fill when style is "repeat" (instead of drawImage). Source attached. Note that it also allows repeat-x, repeat-y and no-repeat, though only "repeat" works. Maybe you'll spot why - I'm a complete noob at C...
by Jim Green
Tue Aug 12, 2014 4:14 pm
Forum: JavaScript / HTML5
Topic: Bar patterns
Replies: 5
Views: 15917

Bar patterns

Hello, I'm using the latest (?) v1.7 July 2014 teechart.js. I believe this includes a fix to http://bugs.teechart.net/show_bug.cgi?id=831, involving patterns in bar series. While the image does appear, it is stretched to the bar rectangle. An image needs to be tiled to serve as a pattern. Is this so...
by Jim Green
Mon Aug 11, 2014 8:54 pm
Forum: JavaScript / HTML5
Topic: ToolTip width
Replies: 1
Views: 8012

ToolTip width

Hello, it looks like there is a hard-coded maximum width of 300?

Code: Select all

    if (tt.offsetWidth > 300)
      ttstyle.width = 300 + 'px';
(TeeChart.js @ 8398)

I do have text that overflows the TT rectangle. Other than changing my copy of the JS, is there anything that will allow a wider box?

Thanks.
by Jim Green
Tue Jul 29, 2014 1:39 pm
Forum: JavaScript / HTML5
Topic: ToolTip position
Replies: 6
Views: 17134

Re: ToolTip position

Thanks Marc. Unfortunately the message was deleted by our email filter as containing a virus. I'm guessing the .js file was not zipped? Could you resend and zip the attachment? Thanks.
by Jim Green
Mon Jul 28, 2014 6:09 pm
Forum: JavaScript / HTML5
Topic: Legend hover
Replies: 3
Views: 12002

Re: Legend hover

Thanks!
by Jim Green
Mon Jul 28, 2014 6:07 pm
Forum: JavaScript / HTML5
Topic: ToolTip position
Replies: 6
Views: 17134

Re: ToolTip position

Marc, I get scroll bars because the chart occupies all of the containing <body>'s area. I can suppress the scroll bars by adding "overflow: hidden" to the body but there is still a positioning issue - the tip is not completely visible for the rightmost couple of bars.

Thanks,
Jim
by Jim Green
Mon Jul 21, 2014 6:08 pm
Forum: JavaScript / HTML5
Topic: Legend hover
Replies: 3
Views: 12002

Legend hover

Hi, have my developer copy now, so I can see what's happening in source. Good stuff! First, the hover color is hard-coded to red in drawItem(): if (this.over==index) f.font.fill="red"; Red is a questionable choice - it's easy to associate red with errors. If anything, the series stroke color might b...
by Jim Green
Mon Jul 21, 2014 4:38 pm
Forum: JavaScript / HTML5
Topic: ToolTip position
Replies: 6
Views: 17134

ToolTip position

Hi, when a tip is shown for a point at the right edge of a chart, part of it can extend off the chart. This causes scroll bars to appear. Is there a way to control the positioning so that the tip always lies within the chart area?

Thanks,
Jim