Giter VIP home page Giter VIP logo

highcharts-utils's Introduction

Highcharts JS is a JavaScript charting library based on SVG and some canvas/WebGL.

Highcharts is a source available product. Please refer to shop.highcharts.com for details on licensing.

Installing and using Highcharts

This is the working repo for Highcharts code. If you simply want to include Highcharts into a project, use the distribution package instead, or read the download page.

Please note that there are several ways to use Highcharts. For general installation instructions, see the docs.

Use our CDN

Instead of downloading, you can use our CDN to access files directly. See code.highcharts.com for details.

<script src="https://code.highcharts.com/highcharts.js"></script>

Install from npm

See npm documentation on how to get started with npm.

npm install --save highcharts

ES6 modules, AMD, CommonJS and others

For other ways to use Highcharts in your projects, please refer to our installation docs.

Create your own custom build of Highcharts

To reduce file size, or combine modules into one file to reduce latency, you may want to create your own build of the Highcharts modules. See Creating custom Highcharts files for more information.

Build and debug

If you want to do modifications to Highcharts or fix issues, you may build your own files. Highcharts uses Gulp as the build system. After npm install in the root folder, run gulp, which will set up a watch task for the JavaScript and CSS files. Now any changes in the files of the /js or /css folders will result in new files being built and saved in the code folder. Other tasks are also available, like gulp lint.

npm install
gulp

Node setup for Apple Mx CPU

When running Node natively on ARM64 MacOS, some Node packages like node-canvas with integrated compiling might fail. Install additional tools to resolve the problem:

  • Homebrew and run brew install pkg-config cairo pango libpng jpeg giflib librsvg pixman

Generate API docs

Run in this highcharts repository the doc generator with npx gulp jsdoc-watch, which also starts a new server with the generated API documentation.

highcharts-utils's People

Contributors

activist avatar bm64 avatar bre1470 avatar cvasseng avatar dependabot[bot] avatar djtechnoo avatar goransle avatar hubertkozik avatar jon-a-nygaard avatar karolkolodziej avatar mekhatria avatar oysteinmoseng avatar pawelfus avatar torsteinhonsi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

highcharts-utils's Issues

compileOnDemand not working for Dashboards

After activating compileOnDemand, Dashboard demos are not loaded properly. Is it possible to add support for Dashboards? Demos are working again if I turn off compileOnDemand in master
Screenshot 2023-10-26 at 14 23 53
Screenshot 2023-10-26 at 15 45 13

problem with highcharts-utils

While trying to evaluate how highcharts-utils could help me, after fllowing the steps
in the README, I got stuck trying to start node ./bin/www:

import { jsToESM, htmlToESM } from '../public/javascripts/tools/jsfiddle-to-esm';
^^^^^^
SyntaxError: Cannot use import statement outside a module

any suggestions?
Thanks,
Lourens

`npm install` error

npm ERR! Error while executing:
npm ERR! C:\Program Files\Git\cmd\git.EXE ls-remote -h -t ssh://[email protected]/highcharts/map-collection.git
npm ERR!
npm ERR! Host key verification failed.
npm ERR! fatal: Could not read from remote repository.
npm ERR!
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.
npm ERR!
npm ERR! exited with error code: 128

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\ricl\AppData\Roaming\npm-cache\_logs\2018-04-11T05_36_26_140Z-debug.log

I want to run the samples locally, but got this error.

Add Sognekraft MQTT broker to layout.hbs

In order to be able to support Sognekraft effectively we need o be able to access their MQTT broker (secure webscoket) from within our development environment.

This requires adding the following line to layout.hbs:

wss://mqtt.sognekraft.no:8083

image

Error on bisect

Fresh clone of highcharts-utils (nvm + node v10), on master branch of highcharts and branch is up-to-date. Steps:

  • open utils.highcharts.com in incognito mode, go to bisect
  • fill the form: good tag: “v6.0.3”, and bad tag: “v6.1.0"
  • deselect “automatic”
  • hit “start bisect”

Error:

Already on 'master'

GET /bisect/bisect 500 100.028 ms - 158
fatal: Needed a single revision

(node:60686) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'indexOf' of undefined
    at handleStep (/Users/pawelfus/projects/projects/highcharts-utils/routes/bisect/bisect.js:64:14)
    at router.get (/Users/pawelfus/projects/projects/highcharts-utils/routes/bisect/bisect.js:135:3)
    at process._tickCallback (internal/process/next_tick.js:68:7)
(node:60686) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:60686) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
fatal: Needed a single revision```

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.