All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.src.traces.sunburst.layout_defaults.js Maven / Gradle / Ivy

The newest version!
'use strict';

var Lib = require('../../lib');
var layoutAttributes = require('./layout_attributes');

module.exports = function supplyLayoutDefaults(layoutIn, layoutOut) {
    function coerce(attr, dflt) {
        return Lib.coerce(layoutIn, layoutOut, layoutAttributes, attr, dflt);
    }
    coerce('sunburstcolorway', layoutOut.colorway);
    coerce('extendsunburstcolors');
};




© 2015 - 2024 Weber Informatics LLC | Privacy Policy