-
Notifications
You must be signed in to change notification settings - Fork 13
API Reference
Erik edited this page Aug 31, 2013
·
8 revisions
Wiki ▸ API Reference
Everything is scoped under the iopctrl namespace. You can find the current version as iopctrl.version.
- iopctrl.segdisplay - construct a new segment display.
- segdisplay - creates a segment display for the given selection or transition.
- segdisplay.value - get or set the value.
- segdisplay.digitCount - get or set the digitCount.
- segdisplay.decimals - get or set the number of fixed decimals.
- segdisplay.negative - reserve the first digit as negative sign.
- segdisplay.width - get or set the display width.
- segdisplay.gap - get or set the gap between digits.
- iopctrl.led - construct a new led.
- led - creates a led for the given selection or transition.
- led.on - get or set the on/off state.
- led.width - get or set the width.
- led.height - get or set the height.
- led.round - get or set the rounding of the corners.
- led.color - get or set the color.
- led.transitionDuration - get or set the transition duration between on and off state.
- iopctrl.ledarray - construct a new led array.
- ledarray - creates a led array for the given selection or transition.
- ledarray.value - get or set the value.
- ledarray.width - get or set the width.
- ledarray.count - get or set the number of leds.
- ledarray.padding - get or set the padding between the leds.
- ledarray.scale - get or set the value scale.
- ledarray.thresholds - get or set the threshold scale for the led colors.
- iopctrl.slider - construct a new slider.
- slider - creates a slider for the given selection or transition.
- slider.value - get or set the value.
- slider. scale - get or set the scale.
- slider.axis - get or set the arcaxis.
- slider.bands - get or set the bands.
- slider.width - get or set the width.
- slider.transitionDuration - get or set the transitionDuration.
- slider.width - get or set the width.
- slider.ease - get or set the easing function.
- slider.moveToTouch - get or set move to touch.
- slider.indicator - get or set the indicator drawing function.
- slider.events - turn on or off events.
- slider.onValueChanged - get or set the event listener.
- iopctrl.arcslider - construct a new arc slider.
- arcslider - creates an arc slider for the given selection or transition.
- arcslider.value - get or set the value.
- arcslider.scale - get or set the scale.
- arcslider.axis - get or set the arcaxis.
- arcslider.bands - get or set the bands.
- arcslider.radius - get or set the radius.
- arcslider.arcFactor - get or set the arcFactor.
- arcslider.transitionDuration - get or set the transitionDuration.
- arcslider.width - get or set the width.
- arcslider.ease - get or set the easing function.
- arcslider.moveToTouch - get or set move to touch.
- arcslider.indicator - get or set the indicator drawing function.
- arcslider.events - turn on or off events.
- arcslider.onValueChanged - get or set the event listener.
- iopctrl.arcaxis - create a new arc axis generator.
- arcaxis - creates or updates an axis for the given selection or transition.
- arcaxis.scale - get or set the axis scale.
- arcaxis.orient - get or set the axis orientation.
- arcaxis.outerRadius - get or set the outer radius of the arc.
- arcaxis.innerRadius - get or set the inner radius of the arc.
- arcaxis.normalize - control if tick labels are normalized.
- arcaxis.ticks - control how ticks are generated for the axis.
- arcaxis.tickValues - specify tick values explicitly.
- arcaxis.tickSize - specify the size of major, minor and end ticks.
- arcaxis.tickSubdivide - specify the subdivision of major ticks.
- arcaxis.tickPadding - specify padding between ticks and tick labels.
- arcaxis.tickFormat - override the tick formatting for labels.