Coder Social home page Coder Social logo

Comments (2)

acs avatar acs commented on August 18, 2024

You can add markers inside the same graph:

function getDefaults () {
  return {
    commits : {
      name : 'swscopio-commits-commits',
      config : {
        //colors: ['#00A8F0', '#C0D800', '#CB4B4B', '#4DA74D', '#9440ED'],
        colors: ['#ffa500', '#00ff00',  '#CB4B4B', '#4DA74D', '#9440ED'],
        'lite-lines' : {
...
        },
        'markers': {
            show: true,
            position: 'ct'
        },
...
    }
...
  }
}

and you are done! Nice!

from envisionjs.

cesutherland avatar cesutherland commented on August 18, 2024

I think that you can... just have to pass each data series as an object (or
update the config to show both).

-Carl

On Sun, Aug 5, 2012 at 7:01 PM, Alvaro del Castillo <
[email protected]

wrote:

One cool thing in flotr2 is how you can mark graphs using the marker
graph. The marker type is not included in envision, but you can include it
by hand. But the main problem is that you can not show two graphs at the
same time in a container, like it is done in the advanced markers example.

I have concluded that it is need to add support for this in Component
"draw : function (data, config)". Any idea about how to implement it will
help in my development.

Cheers


Reply to this email directly or view it on GitHub:
#13

from envisionjs.

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.