Scientific/Css/ichartjs/src/ichart.coordinate.js

(开头部分) 39KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

/**
 * @overview this is inner use for axis
 * @component#iChart.Scale
 * @extend#iChart.Component
 */
iChart.Scale = iChart.extend(iChart.Component, {
    configure: function () {

        /**
         * invoked the super class's configuration
         */
        iChart.Scale.superclass.configure.apply(this, arguments);

        /**
         * indicate the component's type
         */
        this.type = 'scale';

        this.set({
            /**
             * @cfg {String} Specifies alignment of this scale.(default to 'left')
             */
            position: 'left',
            /**
             * @cfg {String} the axis's type(default to 'h') Available value are:
             * @Option 'h' :horizontal
             * @Option 'v' :vertical
             */
            which: 'h',
            /**
             * @cfg {Boolean} indicate whether the grid is accord with scale.(default to true)
             */
            scale2grid: true,
            /**
             * @inner {Number}
             */
            distance: undefined,
            /**
             * @cfg {Number} Specifies the start coordinate scale value.(default to 0)
             */
            start_scale: 0,
            /**
             * @cfg {Number} Specifies the label's step on the axis,Setting the step to 2 shows every other label.(default to 1)
             */
            step: 1,
            /**
             * @cfg {Number} Specifies the end coordinate scale value.Note either this or property of max_scale must be has the given value.(default to undefined)
             */
            end_scale: undefined,
            /**
             * @cfg {Number} Specifies the chart's minimal value
             */
            min_scale: undefined,
            /**
             * @cfg {Number} Specifies the chart's maximal value
             */
            max_scale: undefined,
            /**
             * @cfg {Number} Specifies the space of two scale.(default to undefined)
             */
后面还有 1019 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。