Comments (7)
Thank you :)
from scrollablegraphview.
Hi!
Thanks for this!
I will have to implement number 1 in the future, but for now I've pushed a new version (1.1.2) which checks if you're setting the same data again and if so, ignores it.
Can you try it out and let me know if it fixes your problem?
from scrollablegraphview.
@philackm Yeah that fixes it, thanks for the quick reply!
from scrollablegraphview.
I can back this up, i want to realise a simple WaveForm and it looks uncool, because the whole bar is refreshing again and again. Is there a solution? :/
from scrollablegraphview.
Can you explain a little bit about what you mean by "a simple waveform"?
from scrollablegraphview.
Something like this: https://developers.soundcloud.com/assets/posts/waveform_rendering_mask-2d44b706dd9171ec4bdb6720fa2c0fb1.png
But just with Bars going Up. Don't know if i can make it in both directions. Up und Down. And i have an array which will be reloaded fast. So the animation just startet over and over in the recording
from scrollablegraphview.
I'm still not entirely sure what you want to do.
You should be able to create a bar graph that looks like a waveform, here is an example of a sine wave:
Are you trying to animate the waveform? As in, are you updating the array and then calling setData in very quick succession?
If so, that isn't really supported and was not the idea of calling setData, however, you should be able to do it by turning off the startup animation (and by using the latest version in cocoapods, I had to make a change to make it work). Again, this isn't really supported though. (If it is indeed what you're trying to do.)
graphView.shouldAnimateOnStartup = false
I was able to animate a sine wave by turning that setting off and then calling setData very quickly.
from scrollablegraphview.
Related Issues (20)
- Bar Chart with individual columns having varying widths?
- unable to set dot on multiple graph HOT 1
- app crashes on func. - setPlotPointPositions(forNewlyActivatedPoints activatedPoints: [Int], withData data: [Double]) when i scroll the graph HOT 4
- Maximum Number of Points on screen
- DotPlot are not clickable HOT 3
- Ease out animation bug
- y-axis dynamic value instead of original value.
- Carthage Compile error
- How to Create a Stacked Bar Chart? HOT 1
- App crashed every time a value is added HOT 3
- App crash on startup
- As I change the min and max the reference lines text doesn't change HOT 1
- Error installing ScrollableGraphView from Cocopod
- pointIndex - current day
- Is there a way to stop the graph trailing to 0 at the beginning and end of a plot? HOT 2
- Crashing if all the values for Y axis are 0
- put a number related to each bar index
- change the color of each column
- Bar Chart customisations
- Points HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scrollablegraphview.