kbychkov / dailychart Goto Github PK
View Code? Open in Web Editor NEWTiny SVG charting library to display stock sparklines
Home Page: https://kbychkov.github.io/dailychart/
License: MIT License
Tiny SVG charting library to display stock sparklines
Home Page: https://kbychkov.github.io/dailychart/
License: MIT License
In your example: https://kbychkov.github.io/dailychart/
When lineWidth: 2
, it cut from the top by 1px
Zoom Screen: https://yadi.sk/i/SRf2x3Dd0h6X_g
For example
<div data-dailychart="" data-dailychart-values="104.74,104.74,104.74,104.74,104.74,104.74,104.74,104.74,104.74,104.74,104.74,104.74,104.74,104.74,104.74,104.74,104.74,104.74" data-dailychart-close="104.740000" data-dailychart-length="129"></div>
The objects pathPositive (l. 117) and pathNegative (l. 122) are obsolete if you use the native stroke line.
Replace
Line 119: const areaPositive = this.pathElement(dPositive, lineWidth, colorPositive, fillPositive, idPositive);
Line 124: const areaNegative = this.pathElement(dNegative, lineWidth, colorNegative, fillNegative, idNegative);
Hi !
Thanks for your project, is it possible to convert DailyChart as an ES modules ?
I'm currently facing this issue when i want to use it on my project
[nuxt] [request error] Cannot set properties of undefined (setting 'Dailychart')
Have a nice day
devDependency
@babel/core was updated from 7.7.7
to 7.8.0
.devDependency
@babel/plugin-transform-for-of was updated from 7.8.0
to 7.8.3
.devDependency
@babel/preset-env was updated from 7.8.0
to 7.8.2
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
This monorepo update includes releases of one or more dependencies which all belong to the babel7 group definition.
babel7 is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
I was trying this:
new Dailychart(document.getelementsbyclassname('chart'), {
But i've got the error:
Uncaught TypeError: t.getAttribute is not a function
How to do that? Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.