forked from predictionmachines/InteractiveDataDisplay
-
Notifications
You must be signed in to change notification settings - Fork 0
KnockoutJS: Palette Editor
Dmitry Voytsekhovskiy edited this page Mar 17, 2017
·
3 revisions
-
iddEditorColorPalette
allows to set an instance of InteractiveDataDisplay.ColorPalette to InteractiveDataDisplay.ColorPaletteEditor.
<div class="paletteEditor" style="width:250px;"
data-bind="event: { paletteChanged: onPaletteChanged }, iddEditorColorPalette: colorPalette"></div>
var viewModel = {
colorPalette: ko.observable(InteractiveDataDisplay.ColorPalette.parse('blue,green,red')),
onPaletteChanged: function(vm, event, newPalette){
}
};
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