kitoki / flot.dashes

Dashed line plugin for flot (flotcharts.org)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

flot.dashes

Flot plugin to provide dashed lines

Usage

options = {
    series: {
        dashes: {
            
            // show
            // default: false
            // Whether to show dashed line for the series
            show: <boolean>,

            // lineWidth
            // default: 2
            // Width of the dashed line in pixels
            lineWidth: <number>,

            // dashLength
            // default: 10
            // Controls the length of the invdividual dashes and the amount of
            // space between them.
            // If this is a number, the dashes and spaces will have that length.
            // If this is an array, it is read as [ dashLength, spaceLength ]
            dashLength: <number> or <array[2]>
        }
    }
}

About

Dashed line plugin for flot (flotcharts.org)

License:The Unlicense


Languages

Language:JavaScript 100.0%