Search found 171 matches

Go to advanced search

by wergeld
Fri May 19, 2017 11:35 am
Forum: Highcharts Usage
Topic: Check If Rendered Chart Is Highcharts or Highstock
Replies: 3
Views: 3023
 
Jump to post

Re: Check If Rendered Chart Is Highcharts or Highstock

This does not appear to work on the highstock test I set up: http://jsfiddle.net/eofz9sqp/ Note that chart.get() is different for your example and this highstock test. Your example shows [div#container] as that object but the highstock test shows it as something else (I {proceed: null, chart: a.Char...
by wergeld
Thu May 18, 2017 6:25 pm
Forum: Highcharts Usage
Topic: Check If Rendered Chart Is Highcharts or Highstock
Replies: 3
Views: 3023
 
Jump to post

Check If Rendered Chart Is Highcharts or Highstock

Is there a way to tell if a chart is a highcharts or highstock chart if I have the chart object captured via:

Code: Select all

var chart = $('#Container').highcharts();
by wergeld
Fri May 05, 2017 3:59 pm
Forum: Highcharts Usage
Topic: How to install node.js export module under iisnode?
Replies: 17
Views: 6704
 
Jump to post

Re: How to install node.js export module under iisnode?

Hi, Maybe you could use docker instead. Tutorial: https://www.codeproject.com/Articles/1136496/Getting-started-on-Docker-with-Windows-and-hosting Regards. Yes! This was the route I proposed as well. Instead they stood up a full CentOS box - which I am more than happy with. I have the export server ...
by wergeld
Fri May 05, 2017 11:39 am
Forum: Highcharts Usage
Topic: How to install node.js export module under iisnode?
Replies: 17
Views: 6704
 
Jump to post

Re: How to install node.js export module under iisnode?

Hi, There are also legacy export servers that could serve as an alternative for the current nodejs server. More info (see legacy export servers section): https://www.highcharts.com/docs/export-module/setting-up-the-server Best Regards. This is also correct. And my original post explains why we woul...
by wergeld
Wed May 03, 2017 11:07 am
Forum: Highcharts Usage
Topic: Pie Chart not showing names for all categories
Replies: 4
Views: 2521
 
Jump to post

Re: Pie Chart not showing names for all categories

It says right in your code to limit what labels get shown: series: [{ name: ' ', data: browserData, size: '60%', dataLabels: { formatter: function() { return this.y > 5 ? this.point.name : null; //<--------------- If the slice has a value greater than 5 show it. }, color: '#ffffff', distance: -30 } ...
by wergeld
Mon May 01, 2017 11:43 am
Forum: Highcharts Usage
Topic: Confused about licensing for Highcarts Export server
Replies: 2
Views: 1857
 
Jump to post

Re: Confused about licensing for Highcarts Export server

I believe you just need to have a Highchart/stock license to use the exporter - no additional license required just for the export server. If you have a license then you are allowed to remove the "highcharts.com" footer (see http://api.highcharts.com/highcharts/credits). As for the issue w...
by wergeld
Fri Apr 28, 2017 1:43 pm
Forum: Highcharts Usage
Topic: Wav graph
Replies: 2
Views: 1071
 
Jump to post

Re: Wav graph

I think you could do this with an arearange graph. Demo: https://www.highcharts.com/demo/arearange
by wergeld
Fri Apr 28, 2017 12:41 pm
Forum: Highcharts Usage
Topic: FFT chart
Replies: 6
Views: 2280
 
Jump to post

Re: FFT chart

Hi, Here is a basic demo for you. It should give you an idea of how you can proceed further. // Set up the chart var chart = new Highcharts.Chart({ chart: { renderTo: 'container', type: 'scatter', options3d: { enabled: true, alpha: 10, beta: 30, depth: 250, viewDistance: 15, fitToPlot: false, } }, ...
by wergeld
Fri Apr 28, 2017 11:31 am
Forum: Highcharts Usage
Topic: FFT chart
Replies: 6
Views: 2280
 
Jump to post

Re: FFT chart

As far as I can tell only bar/column, pie, and scatter types are usable in 3D charts under HighCharts. Seems like this should be simple to implement, though.
by wergeld
Tue Apr 25, 2017 4:04 pm
Forum: Highcharts Usage
Topic: How to install node.js export module under iisnode?
Replies: 17
Views: 6704
 
Jump to post

Re: How to install node.js export module under iisnode?

Correct. But, our systems group would like to run this under iisnode in IIS - not as a stand-alone node.js server. Right now, I am able to get the image created on the export url but I need to send it back to the requesting page as a download. There are other oddities here like I give it a filename ...
by wergeld
Mon Apr 24, 2017 7:41 pm
Forum: Highcharts Usage
Topic: How to install node.js export module under iisnode?
Replies: 17
Views: 6704
 
Jump to post

Re: How to install node.js export module under iisnode?

Okay, How about a simpler question? How do I return the image file to the web page that requested the export from this section of code: exporter.export(exportSettings, function (err, res) { //The export result is now in res. //If the output is not PDF or SVG, it will be base64 encoded (res.data). //...
by wergeld
Thu Apr 20, 2017 12:24 pm
Forum: Highcharts Usage
Topic: How to install node.js export module under iisnode?
Replies: 17
Views: 6704
 
Jump to post

Re: How to install node.js export module under iisnode?

I am at my wit's end here. If I use the built-in chart function to export the chart like: var chart = $('#' + chartid).highcharts(); var navigatorData = chart.get("highcharts-navigator-series").options.data; var chartSeries = chart.userOptions.series; chart.exportChart({ filename: 'test', ...
by wergeld
Wed Apr 19, 2017 2:14 pm
Forum: Highcharts Usage
Topic: How to install node.js export module under iisnode?
Replies: 17
Views: 6704
 
Jump to post

Re: How to install node.js export module under iisnode?

I feel like I am getting closer but still no dice. My hcexport node module now looks like: var http = require('http'); var qs = require('querystring'); const exporter = require('highcharts-export-server'); var exportSettings = { type: 'png', options: { title: { text: 'My Chart' }, xAxis: { categorie...
by wergeld
Tue Apr 18, 2017 7:17 pm
Forum: Highcharts Usage
Topic: How to install node.js export module under iisnode?
Replies: 17
Views: 6704
 
Jump to post

Re: How to install node.js export module under iisnode?

More info as iisnode provides some logging. When I change to exporting the hardcoded chart as SVG or PDF and spit out the contents of exres I get just the filename field with no data component: { filename: 'undefinedchart.pdf' } When I change to PNG or JPG I get a data field filled with the string p...
by wergeld
Tue Apr 18, 2017 6:28 pm
Forum: Highcharts Usage
Topic: How to install node.js export module under iisnode?
Replies: 17
Views: 6704
 
Jump to post

Re: How to install node.js export module under iisnode?

So, I am getting somewhere I think. My steps so far: 1) I have copied an existing directory under C:\Program Files\iisnode\www to a new directory under the C:\Program Files\iisnode\www path in Windows (where the sample iisnode pages exist). 2) I have opened a command prompt in this new directory (as...

Go to advanced search