GithubHelp home page GithubHelp logo

jaggedsoft / chartaholic Goto Github PK

View Code? Open in Web Editor NEW
24.0 1.0 4.0 200 KB

Lightning fast ⚡ Responsive SVG candlestick chart generation in Javascript

Home Page: https://liquidity.ltd

License: GNU General Public License v3.0

CSS 10.23% JavaScript 86.62% HTML 3.15%
chartaholic svg cryptocurrency charts forex

chartaholic's Introduction

Latest Version GitHub last commit Views jaggedsoft on Twitter

This software is open source and depends on contributions from the community. Under the GNU GPL v3 License, you are given permission to use this freely for any purpose you like, with no liability and no warranty, as long as you make the source code of any improvements available for all.

Examples: Live demo using Binance data: https://liquidity.ltd

Indicator Example Binance Futures: BTC Binance OGN-BTC Line Chart

The goal is to become an open source alternative to TradingView with built-in functions available in Javascript.

Getting Started

let chart = new Chartaholic( "#chart", { ticks: ohlc } );
let chart = new Chartaholic( "#chart", { theme: "blue", keys: { time: "time_open" }, ticks, title, usd:true, overlay, annotations } );

Contribution

  • Give us a star ⭐
  • Fork and Clone! Awesome
  • Select existing issues or create a new issue and give us a PR with your bugfix or improvement after. We love it ❤️

Need a capable market maker for your project? Visit https://liquidity.ltd

Stars Contributors Stargazers over time jaggedsoft on Twitter

chartaholic's People

Contributors

jaggedsoft avatar

Stargazers

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

Watchers

 avatar

chartaholic's Issues

Known Issues

image
Fix rounding @ 4 decimal precision. Should have showed .00014

fix-clamp
Fix clamp for the black box when things are off the charts bullish

html and php files with the following code do not works

I am new in this stuff, kindly help me please!
I tried to use chartaholic and I Tried the Example code

<!doctype html>

<title>JS Demo | Chartaholic</title> <script src="https://unpkg.com/popper.js@1/dist/umd/popper.min.js"></script> <script src="https://unpkg.com/tippy.js@4"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/axios/0.18.0/axios.min.js" integrity="sha256-mpnrJ5DpEZZkwkE1ZgkEQQJW/46CSEh/STrZKOB/qoM=" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/mathjs/5.4.2/math.min.js" integrity="sha256-W2xP+GeD3rATAAJ/rtjz0uNLqO9Ve9yk9744ImX8GWY=" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.24.0/moment-with-locales.min.js" integrity="sha256-AdQN98MVZs44Eq2yTwtoKufhnU+uZ7v2kXnD5vqzZVo=" crossorigin="anonymous"></script> <script src="chartaholic.js"></script> <script src="coinpaprika.js"></script>
<script> (async () => { let title = "Ethereum (ETH)"; let slug = "eth-ethereum"; let start_date = "2018-09-20"; let ticks = await cp.candles(slug, start_date, { limit: 366 }); let chart = new Chartaholic("#chart", { theme: "blue", keys: { time: "time_open" }, ticks, title }); })(); </script>

and saved it as a html file and tried to get the chart but it didnt worked, so i changed it to php and opened it on my mamp server but still no results.....
:(
only a blank page opens
what can i do to use the chart?

Example.html is not working

Failed to load resource: net::ERR_FILE_NOT_FOUND <--- this is regarding coinpaprika.js
example.html:26 Uncaught (in promise) ReferenceError: cp is not defined
at example.html:26
at example.html:28

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.