biner88 / chart_sparkline Goto Github PK
View Code? Open in Web Editor NEWBeautiful sparkline charts for Flutter
License: MIT License
Beautiful sparkline charts for Flutter
License: MIT License
Line Chart is perfect, but I need animation line for this chart.
How easy would it be to add a new point mode that allowed you to specify the index in the data where the point should be? Happy to submit a PR if you'd like.
Hi we need a builder method so we can edit the way it is shown in the chart . Right now I want to show the label to represent euro with comma instead of dot.
Sparkline(
data: data,
fillMode: FillMode.below,
fillColor: Colors.red[200],
);
Above code does not work. Always get white background color. Can you please help.
Hi biner88, is there a possible way to render a line at a particular point or value like the line rendered at avg. of data ?
Not sure if this is intended but there's a noticable gap on the right side of a plot with labels.
When I modify this line by removing the * 2
, then the labels are drawn with minimal gap, which is what I'm looking for.
Thanks.
in case of having the following data:
data: [-1.5, 1 - 0, 2 - 5, -1.5, 100, 5, -2.3]
with gridLineLabelPrecision: 3
:
with gridLineLabelPrecision: 2
:
after digging through the codebase, I discovered that this is not this package's fault, but it's a usage of the wrong function.
this package uses toStringAsPrecision
on the values, which evaluates the following values like:
→ 100.0.toStringAsPrecision(3)
"100"
→ 100.0.toStringAsPrecision(2)
"1.0e+2"
I suggest adding a gridLineLabelFixed
parameter, which would apply toStringAsFixed
on the supplied data
As with averageLine, is there a way to add horizontal dashed line with given value?
I am trying to add dashed line at start value to show changes from that point during chart span. Any help would be appreciated.
Thank you.
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.