Search found 248 matches

Go to advanced search

by drmrbrewer
Thu Apr 20, 2023 12:58 pm
Forum: Highcharts Usage
Topic: Setting plotBackgroundImage to a url from a server
Replies: 4
Views: 356
 
Jump to post

Re: Setting plotBackgroundImage to a url from a server

OK, no problem, thanks!
by drmrbrewer
Fri Apr 14, 2023 10:44 am
Forum: Highcharts Usage
Topic: Setting plotBackgroundImage to a url from a server
Replies: 4
Views: 356
 
Jump to post

Setting plotBackgroundImage to a url from a server

I'm currently doing something very similar to the following demo: https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/chart/plotbackgroundimage/ Which is linked from: https://api.highcharts.com/highcharts/chart.plotBackgroundImage But I'm generating the char...
by drmrbrewer
Wed Apr 05, 2023 1:12 pm
Forum: Highcharts Usage
Topic: Advanced customisations when using the export server as a node module
Replies: 13
Views: 1142
 
Jump to post

Re: Advanced customisations when using the export server as a node module

It seems like things move rather slowly over at highcharts/node-export-server because I'm still waiting for a response to my issue (https://github.com/highcharts/node-expo ... issues/391).
by drmrbrewer
Wed Mar 29, 2023 6:49 am
Forum: Highcharts Usage
Topic: Advanced customisations when using the export server as a node module
Replies: 13
Views: 1142
 
Jump to post

Re: Advanced customisations when using the export server as a node module

OK thanks. I still can't get it working, particularly with the sort of model I referred to in my second example (https://www.highcharts.com/forum/viewtopic.php?f=9&t=50529#p184894). I posted an issue directly over on GitHub as suggested, but it looks like there have been no replies on any issues...
by drmrbrewer
Sun Mar 26, 2023 2:34 pm
Forum: Highcharts Usage
Topic: Advanced customisations when using the export server as a node module
Replies: 13
Views: 1142
 
Jump to post

Re: Advanced customisations when using the export server as a node module

And also... will this be possible with the puppeteer version (currently only available via the branch https://github.com/highcharts/node-expo ... /puppeteer)? I feel like it ought to be possible... if not now, then maybe it could be in future?
by drmrbrewer
Sat Mar 25, 2023 5:07 pm
Forum: Highcharts Usage
Topic: Advanced customisations when using the export server as a node module
Replies: 13
Views: 1142
 
Jump to post

Re: Advanced customisations when using the export server as a node module

Actually this is more the sort of model I'm trying to use: https://jsfiddle.net/kxmasnz0/ I have a MyChart function/class which I create an instance of, and use the myChart instance to get the chart options and also the callback , with the callback function referring to other functions and variables...
by drmrbrewer
Tue Mar 21, 2023 2:53 pm
Forum: Highcharts Usage
Topic: Advanced customisations when using the export server as a node module
Replies: 13
Views: 1142
 
Jump to post

Re: Advanced customisations when using the export server as a node module

Hi Dawid Thanks for the reply. That tests folder is useful but only to a limited extent. The sorts of issues I'm having are shown via the following code example (I'm only using jsfiddle as a way of properly formatting and displaying the code... I find it's difficult on this forum): https://jsfiddle....
by drmrbrewer
Mon Mar 20, 2023 11:20 pm
Forum: Highcharts Usage
Topic: Advanced customisations when using the export server as a node module
Replies: 13
Views: 1142
 
Jump to post

Re: Advanced customisations when using the export server as a node module

Any ideas about this one? I can’t believe there isn’t a really simple working example out there, but I certainly haven’t been able to find one.
by drmrbrewer
Fri Mar 17, 2023 7:57 am
Forum: Highcharts Usage
Topic: Advanced customisations when using the export server as a node module
Replies: 13
Views: 1142
 
Jump to post

Advanced customisations when using the export server as a node module

I am trying to use the highcharts node export server as a module (see https://github.com/highcharts/node-export-server#using-as-a-nodejs-module), not as a server, i.e. like the example code given in the above section of the docs. But I also want to do some custom stuff, to generate the options for t...
by drmrbrewer
Wed Feb 08, 2023 2:09 pm
Forum: Highcharts Usage
Topic: Assign class name to chart.renderer SVG elements
Replies: 7
Views: 622
 
Jump to post

Re: Assign class name to chart.renderer SVG elements

Quick follow-up... at the moment I'm applying my "colour inversion" to all y axis labels. Is it possible to be more selective, and apply it to only some? I can't see that there is anything in the default CSS class names or ids applied that would help with this. Example: https://jsfiddle.ne...
by drmrbrewer
Wed Feb 08, 2023 11:37 am
Forum: Highcharts Usage
Topic: Assign class name to chart.renderer SVG elements
Replies: 7
Views: 622
 
Jump to post

Re: Assign class name to chart.renderer SVG elements

Excellent, thanks for your help!
by drmrbrewer
Wed Feb 08, 2023 11:31 am
Forum: Highcharts Usage
Topic: Assign class name to chart.renderer SVG elements
Replies: 7
Views: 622
 
Jump to post

Re: Assign class name to chart.renderer SVG elements

Perfect! I now see this in the docs: https://api.highcharts.com/class-refere ... t#addClass

Out of interest, is it possible to add an id to the SVG element, in case we wanted to control the style of specific elements rather than all elements in a class, via CSS?
by drmrbrewer
Tue Feb 07, 2023 1:38 pm
Forum: Highcharts Usage
Topic: Assign class name to chart.renderer SVG elements
Replies: 7
Views: 622
 
Jump to post

Re: Assign class name to chart.renderer SVG elements

Here is some more context about what I have in mind... this is the basic chart: https://jsfiddle.net/3c9uvqLy/ This includes a circle rendered using chart.renderer.circle(). And here I've added some CSS to invert the background and key elements (but not the line colours etc): https://jsfiddle.net/sk...
by drmrbrewer
Tue Feb 07, 2023 12:21 pm
Forum: Highcharts Usage
Topic: Assign class name to chart.renderer SVG elements
Replies: 7
Views: 622
 
Jump to post

Assign class name to chart.renderer SVG elements

When we add a custom element to a chart using e.g. chart.renderer.path() (see here: https://api.highcharts.com/class-reference/Highcharts.SVGRenderer), is there a way to add a CSS class name to that element (https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/class), or even an id, so that we...

Go to advanced search