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

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

The newest version!
'use strict';

module.exports = {
    sunburstcolorway: {
        valType: 'colorlist',
        editType: 'calc',
        description: [
            'Sets the default sunburst slice colors. Defaults to the main',
            '`colorway` used for trace colors. If you specify a new',
            'list here it can still be extended with lighter and darker',
            'colors, see `extendsunburstcolors`.'
        ].join(' ')
    },
    extendsunburstcolors: {
        valType: 'boolean',
        dflt: true,
        editType: 'calc',
        description: [
            'If `true`, the sunburst slice colors (whether given by `sunburstcolorway` or',
            'inherited from `colorway`) will be extended to three times its',
            'original length by first repeating every color 20% lighter then',
            'each color 20% darker. This is intended to reduce the likelihood',
            'of reusing the same color when you have many slices, but you can',
            'set `false` to disable.',
            'Colors provided in the trace, using `marker.colors`, are never',
            'extended.'
        ].join(' ')
    }
};




© 2015 - 2024 Weber Informatics LLC | Privacy Policy