GithubHelp home page GithubHelp logo

Comments (5)

schme16 avatar schme16 commented on June 2, 2024

from chart.js-rangeslider.

Lambik avatar Lambik commented on June 2, 2024

I started from the demo fiddle on your readme, and ended up with this one: https://jsfiddle.net/ut1d21mx/

I had to change the options a little to reflect what I need in my project, and it's those that cause the difference in rendering apparently.

from chart.js-rangeslider.

Lambik avatar Lambik commented on June 2, 2024

Well, it's because "maintainAspectRatio" causes everything to increase in size because of the slider bar having a forced width, thereby increasing the width of the canvas, or something. But even when I set it to false, the canvas is still wider than what is set in the html attribute...

from chart.js-rangeslider.

schme16 avatar schme16 commented on June 2, 2024

@Lambik: Thanks for that, I'll try and have a fix rolled out soon, and push it to bower and npm when I do

from chart.js-rangeslider.

Lambik avatar Lambik commented on June 2, 2024

Any news about this? I could still use it :-) But don't want to push you or anything

from chart.js-rangeslider.

Related Issues (17)

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.