Giter VIP home page Giter VIP logo

Comments (5)

zaknixon avatar zaknixon commented on July 18, 2024

+1

from bemsimplelinegraph.

Boris-Em avatar Boris-Em commented on July 18, 2024

Hi @xeppen and @zaknixon,
Thank you for showing interest in the library and opening/contributing to this issue.
I worked on it this week end, and pushed a few commits to the feature branch.
Basically, I added two BOOL properties, alwaysDisplayDots and alwaysDisplayPopUpLabels that should let you do what you want to do.

self.myGraph.alwaysDisplayDots = YES;
self.myGraph.alwaysDisplayPopUpLabels = YES;

Please note that this is still a work in progress. There are times where the labels overlap, and I don't feel like it looks really good. I would love to have your input on this feature (first of all if it's what you were looking for) and if you see any ways to improve it.

Please also note that the way to initialize the graph is a little bit different with the build on the feature branch, as the delegate and datasource have been separated. You can find more information in the documentation.

Thank you again, and I'm looking forward to your feedback.

from bemsimplelinegraph.

jasonmcdermott avatar jasonmcdermott commented on July 18, 2024

It'd be nice if you could select some labels to 'alwaysDisplay', e.g. just the max and min values.

from bemsimplelinegraph.

Boris-Em avatar Boris-Em commented on July 18, 2024

@jasonmcdermott
This is a good idea. I think that it would be a good way of making this feature look a little bit better.
We could use a method like alwaysDisplayPopUpLabelAtIndex.

from bemsimplelinegraph.

Boris-Em avatar Boris-Em commented on July 18, 2024

Hi @jasonmcdermott,
I just pushed a new commit to the feature branch (ce48e6a) with an optional method lineGraph:alwaysDisplayPopUpAtIndex: that gives the option to always some of the labels.

from bemsimplelinegraph.

Related Issues (20)

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.