Coder Social home page Coder Social logo

Bars in mode "time" about flot HOT 3 CLOSED

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
Bars in mode "time"

from flot.

Comments (3)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
Have you set the width of the bars? See the API documentation about customizing 
bars.
E.g. this will set the bar width to one day:

  bars { barWidth: 24 * 60 * 60 * 1000 }

I highly recommend using the mailing list for this sort of question.

Hope this helps?

Original comment by olau%[email protected] on 6 Mar 2008 at 2:37

from flot.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
Thank you! Yes it helped me...First posting my previous post I tried using 
barWidth
with no success, this beacuse I misunderstood (my bad english!) what written in 
the
API that here I report now :

"""
Note that the options that take numbers works in units of pixels, but
"barWidth" is the width of the bars in units of the x axis to allow
for scaling.
"""

I understood barWidth=1 means one day having one bar for each day...but now you
opened my mind. Thank you!

And sorry for the mailinglist thing....I'm learning about the open source world 
and
its ways to act....

Original comment by [email protected] on 7 Mar 2008 at 8:45

from flot.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
That's OK. :-)

I've clarified the API documentation a bit now.

Original comment by olau%[email protected] on 7 Mar 2008 at 9:53

  • Changed state: Fixed

from flot.

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.