forked from predictionmachines/InteractiveDataDisplay
-
Notifications
You must be signed in to change notification settings - Fork 0
KnockoutJS: Axis
Dmitry Voytsekhovskiy edited this page Mar 10, 2017
·
4 revisions
How to use:
HTML
<div data-idd-axis="numeric" data-idd-placement="bottom" data-bind="iddAxisSettings:XLabels"></div>
Type of XLabels
:
type iddAxisSettings = {
type: string, //"labels" or "numeric"
ticks?: number[],
labels?: string[],
attachGrid?: boolean ,
rotate?: boolean // true for vertical axis
}
If type
is "numeric", the only additional property is attachGrid
; other properties will be ignored.
If type
is "labels", the ticks
are mandatory and labels
are optional. If number of labels is less by one than number of ticks, the labels are displayed between the ticks.
Home
FAQ
UI Guidelines
Export to SVG
Plot
Figure
Chart
ChartViewer
Polyline
Markers
Area
Heatmap
DOM Plot
Labels
Bing Maps
Intro
General bindings
Area plot
Bars plot
Polyline
Heatmap
Markers
Label plot
Box and whisker plot
Petals and BullEye plot
Axis
Palette Editor
Update layout
Axes
Legend
Color Palette
Navigation
Bound Plots
Tooltips and Probes