Coder Social home page Coder Social logo

Comments (10)

dmbf29 avatar dmbf29 commented on July 19, 2024 2

The README never got changed FYI. Thankfully stumbled across this issue. Although no more errors, just labels aren't being displayed now 🤔

from chartist-plugin-pointlabels.

gionkunz avatar gionkunz commented on July 19, 2024

Hey there. Thanks for the detailed issue! Actually youre doing it right with option A but the example is wrong in the readme! It should be Chartist.plugins.ctPointLabels and not ctPointLabels.

from chartist-plugin-pointlabels.

gionkunz avatar gionkunz commented on July 19, 2024

Ill update the readme

from chartist-plugin-pointlabels.

gionkunz avatar gionkunz commented on July 19, 2024

You didnt mention that youve included the script of the plugin in your html. So in case youve missed that youd also need to do this.

from chartist-plugin-pointlabels.

juanomoran avatar juanomoran commented on July 19, 2024

Hi, thanks for the prompt reply. I had included the script in the html, so it may be the naming of the plugin. Later today I'll try and let you know if it works.

from chartist-plugin-pointlabels.

juanomoran avatar juanomoran commented on July 19, 2024

Great! It worked like a charm! thanks! I will post some other questions on the main library repository later. Thanks for the awesome work!

from chartist-plugin-pointlabels.

juanomoran avatar juanomoran commented on July 19, 2024

Ok, just to let you know. Your code is incredibly flexible. I just wanted one particular set of data to have labels on the points. And it was as easy as placing a conditional statement on the 'draw' event emitter...

Now I'm playing around with the idea of placing legends close to each of the curves.

from chartist-plugin-pointlabels.

juanomoran avatar juanomoran commented on July 19, 2024

Done, I use the data.x and data.y to place the legend for the GOAL line

image

from chartist-plugin-pointlabels.

gionkunz avatar gionkunz commented on July 19, 2024

Cool! :-) glad it worked out for you nicely.

from chartist-plugin-pointlabels.

Thaurin avatar Thaurin commented on July 19, 2024

Same here, README is still wrong. Confused me a bit.

from chartist-plugin-pointlabels.

Related Issues (15)

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.