classed | String SVG custom class | N | |
width , height , size , scale | Integer SVG container sizes | Y | Pen |
style | String Custom CSS to inject into chart | N | |
minValue ,maxValue | Number Sets the minimum and maximum Value scale range. Note that for log scales, minValue must be > 0. | Y | |
tickCountIndex ,tickCountValue | Number, String, Interval Function Hints at the number of ticks to set in the corresponding axis. Supports strings for example time intervals | | |
tickMinorIndex , tickMinorValue | Number, String, Interval Function Hints at the number of minor ticks to set in the corresponding axis. | | |
tickFormatIndex , tickFormatValue | String, Function Sets the formatting string or function for the ticks | | |
tickDisplayIndex , tickDisplayValue | Function Alternatively you can customise all tick presentation logic with this function | | |
curve | String, Function, curves, excluding closed and open curves. If a function is supplied, it should implement custom-curves | | |
symbol | (Array of) String, Function symbol circle or custom symbol types | | |
legendOrientation | String top, left, bottom, right, voronoi | | |
voronoiAttraction | Number -1...0...1 When using the voronoi legendOrientation, how far the label is dragged to the data line. 0 implies no dragging, -1 pushes the labels away | | |
fill | String, Array, Function If function, in addition to usual data, index parameters, a 3rd string parameter indicates the context - one of area , stroke , symbol , legend | | |
fillAreaOpacity | Unit Number | | |
fillArea , fillStroke | Boolean, Array[Boolean] Sets if the lines should be filled or stroked. By default is set appropriately for line and stack presentation | | |
stackOffset , stackOrder | String, Array, Function stack orders stack offsets | | |
animation | String reveal , value , default | | |
trim | Integer Level to trim the array to | | |
tipHtml | String, Function parameters of the function are (d, i, s) where d is the data element, i is the index, s is the series of the data | | |
onClick | Function handler for a click event on the data series | | |