Giter Club home page Giter Club logo

javascript's Introduction

Charts, simple as a URL

No more server-side rendering pain, 1 url = 1 chart.

Documentation - Website


Image-charts is the easiest way to embed charts in email or chat bot.

No need to setup and develop a complex server-side solution. One url = one chart.

chart

https://image-charts.com/chart
?cht=bvs
&chs=978x300
&chd=t:10,40,60,80,30,20
&chf=b0,lg,90,03a9f4,0,3f51b5,1
&chxt=x,y
&chan

Gifs in email = awesome

Communicate better with animated charts in your reporting emails. No more server-side rendering, headless browser tricks and painful email attachements.

chart

https://image-charts.com/chart
?cht=pd
&chs=978x300
&chd=t:20,20,30,40,50
&chl=20°|20°|30°|40°|50°
&chan

Google Image Charts Drop-In replacement

Google Image Charts is deprecated since 2012, not supported since 2015 and can be shutdown anytime soon. Image-charts aims to be fully compatible with Google Charts API while still extending it. Don't build on unstable foundation.

chart

https://image-charts.com/chart
?cht=bvs
&chd=s:theresadifferencebetweenknowingthepathandwalkingthepath
&chs=978x300
&chf=b0,lg,90,03a9f4,0,3f51b5,1
&chxt=x,y
&chan=1200,easeOutBack

Reliable and fast

<500ms everywhere around the world, 99,99% uptime over the past 3 months


Documentation - Website

javascript's People

Contributors

fgribreau 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

hhophan

javascript's Issues

Cannot find module 'request'

Hi,

I just installed the library to start using your tool.
I use NextJS (latest version) and after a first test, here is what I get when I try to generate a URL.

It is noted that it can be used on the Node side, it also seems strange to me that if a dependency is missing, it is not installed?

Capture d’écran 2022-04-29 à 15 22 57

Example :

const pie = ImageCharts().cht('lc').chd('t:50,20,30,43,2,3,456,7').chxl('1:|01/04|02/04|03/04|04/04|04/04|04/04|04/04|04/04').chtt('New Visitors').chm('B,76A4FB,0,0,0')

pie.toURL()

An idea ?

node_modules/image-charts/types.d.ts' is not a module.

Firstly wanted to give thanks for providing such a useful service, but I'm currently running into this issue when trying to use the module with TypeScript. When trying to build my app I get this error node_modules/image-charts/types.d.ts' is not a module..

I have imported the module like so: import ImageCharts from 'image-charts'
Not sure how to get this work, but I may have to modify tsconfig.json as well? Either way it's not clearly documented so I'm kind of stuck with using const ImageCharts = require('image-charts') in the meantime which kind of renders all the type definitions to be useless at the moment. I'll tag @geopic here since he was the one who originally implemented the types.d.ts declaration file.

TypeScript type declaration file

If you want I can write a TypeScript type declaration file for this package so that TS developers can utilise the type-checking feature of the language as they use this package. Let me know if you are interested.

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.