Search found 23 matches

by NickH
Mon Mar 12, 2018 10:33 pm
Forum: Javascript / HTML5
Topic: Best practices to saving HTML5 Canvas as an image
Replies: 3
Views: 4144

Re: Best practices to saving HTML5 Canvas as an image

There seems to be an issue with the earlier annotations issue. When I have it disabled it will work. Otherwise could you show me how to implement saving a canvas with an annotation attached: https://jsfiddle.net/norike82/rp83jLgm/ If it is relevant, having the scroller isn't a big concern as of now ...
by NickH
Wed Mar 07, 2018 1:03 am
Forum: Javascript / HTML5
Topic: Best practices to saving HTML5 Canvas as an image
Replies: 3
Views: 4144

Best practices to saving HTML5 Canvas as an image

So I'm trying to implement a link/button of sorts such that a client can click the button, (possibly select folder location as well) and download a TeeChart in the highest quality possible. I'm aware right-click on the canvas into Save Image As works as a feature in some browsers, however I'm lookin...
by NickH
Sat Feb 10, 2018 12:55 pm
Forum: Javascript / HTML5
Topic: Minortick, Right axis and legend vertical alignment & col no
Replies: 3
Views: 1765

Minortick, Right axis and legend vertical alignment & col no

Hi, I'm having 3 separate issues that is shown on the image below: https://i.imgur.com/dUO3jaN.png https://imgur.com/a/Jc5Ki 1) Right axis not working properly using the correct labels but will show the correct values upon refresh. I have played with the automated settings and it doesnt not seem to ...
by NickH
Sun Feb 04, 2018 1:11 pm
Forum: Javascript / HTML5
Topic: Using Annotations to have an image within a chart
Replies: 6
Views: 2856

Re: Using Annotations to have an image within a chart

We've decided to use the second option for our purposes (and it works!), however now if I add a scroller to another canvas it makes the ChartImage (but not the dom-styled) annotation disappear. In your example if you add: var Scroll = new Tee.Scroller("Canvas2", Chart1); Using teechart-extras.js and...
by NickH
Tue Jan 23, 2018 12:06 am
Forum: Javascript / HTML5
Topic: Horizontal alignment of legend
Replies: 4
Views: 2042

Re: Horizontal alignment of legend

Hello, Have you seen the legend example in the online demos ? You can align the legend to the left, right, top or bottom. Is this what you need? Hi, I am familiar with this functionality. The problem is once i've set the position to bottom, the legend isn't horizontally aligned to the center as sho...
by NickH
Fri Jan 19, 2018 4:23 am
Forum: Javascript / HTML5
Topic: Using Annotations to have an image within a chart
Replies: 6
Views: 2856

Re: Using Annotations to have an image within a chart

Strange, at least on Google Chrome the demo saves as an image without the annotations so it may just be a browser issue. Moving forward it's probably best to implement a button function for download which should hopefully have the annotation with it.

I'll have a deeper look into the resizing issue.
by NickH
Fri Jan 19, 2018 4:19 am
Forum: Javascript / HTML5
Topic: Horizontal alignment of legend
Replies: 4
Views: 2042

Re: Horizontal alignment of legend

Hello, Have you seen the legend example in the online demos ? You can align the legend to the left, right, top or bottom. Is this what you need? Hi, I am familiar with this functionality. The problem is once i've set the position to bottom, the legend isn't horizontally aligned to the center as sho...
by NickH
Thu Jan 18, 2018 6:10 am
Forum: Javascript / HTML5
Topic: Using Annotations to have an image within a chart
Replies: 6
Views: 2856

Using Annotations to have an image within a chart

Hi, my ultimate goal is to be able to watermark my chart with a logo in the corner such that when users download the image the logo should appear. I've attempted to achieve this through annotations with the isDom approach referred in the annotation demos However using the isDom approach causes two p...
by NickH
Thu Jan 18, 2018 3:41 am
Forum: Javascript / HTML5
Topic: Horizontal alignment of legend
Replies: 4
Views: 2042

Horizontal alignment of legend

Hi, I was wondering if it was possible to horizontally align the legend (in particular a center alignment). I am aware of vertical alignment however could not find any detail regarding the possibility of horizontal alignment.

Thanks
by NickH
Wed Jan 03, 2018 11:54 pm
Forum: Javascript / HTML5
Topic: Date format in JS and VCL export to JS
Replies: 9
Views: 3678

Re: Date format in JS and VCL export to JS

Adding the following during runtime has fixed this issue.

Code: Select all

Chart1.axes.bottom.automatic=true;
Chart1.axes.left.automatic=true;
My thanks for the ongoing support.
by NickH
Fri Dec 29, 2017 5:47 am
Forum: Javascript / HTML5
Topic: Date format in JS and VCL export to JS
Replies: 9
Views: 3678

Re: Date format in JS and VCL export to JS

Hi, just got the chance to export a sample illustrating the problem as a .tee file and the resulting .htm file. We upgraded to VCL 2017.21 and the result now seems to be the DateTime x axis doesn't load but on refresh will load the correct settings (which was the opposite problem when we were on 201...
by NickH
Thu Oct 30, 2008 1:48 pm
Forum: VCL
Topic: TChart7 & BCB5 new issue
Replies: 15
Views: 3641

Hi Narcis, I finally got it to work. Initially your example project only partially worked as in my previous posting. I finally got it to work by fiddling around with the pragma directives. I have not identified the problem exactly. I can send you a project that worked and a similar one that did not ...
by NickH
Wed Oct 29, 2008 5:42 am
Forum: VCL
Topic: TChart7 & BCB5 new issue
Replies: 15
Views: 3641

Hi Narcis, I copied a default Unit1 to your Project added a TChart and a TChartEditor. In the Tools section of the ChartEditor, properties were availble but only for the "Extra Legend", "Clip Series", "Drag Point", "Gantt Drag" and "Pie Slices" tools. Properties were not visible for all other Tools,...
by NickH
Tue Oct 28, 2008 9:47 pm
Forum: VCL
Topic: TChart7 & BCB5 new issue
Replies: 15
Views: 3641

Hi Narcis,

Can you please resend the new project, the Unit1.cpp file was missing.

Thanks

Nick
by NickH
Mon Oct 27, 2008 1:00 pm
Forum: VCL
Topic: TChart7 & BCB5 new issue
Replies: 15
Views: 3641

Hello,

I sent the "toy program" on Friday to you upload page. I hope you received it ?.

Thanks,

Nick