Sha256: 110eafbb35f75e1c54ae572d1b6ae02db332485f9c9d38972429da04fc5e3742

Contents?: true

Size: 1.38 KB

Versions: 12

Compression:

Stored size: 1.38 KB

Contents

/*
 * 图表配置文件
 * */


//不同类型的配置
var typeConfig = [
    {
        chart: {
            type: 'line'
        },
        plotOptions: {
            line: {
                dataLabels: {
                    enabled: false
                },
                enableMouseTracking: true
            }
        }
    }, {
        chart: {
            type: 'line'
        },
        plotOptions: {
            line: {
                dataLabels: {
                    enabled: true
                },
                enableMouseTracking: false
            }
        }
    }, {
        chart: {
            type: 'area'
        }
    }, {
        chart: {
            type: 'bar'
        }
    }, {
        chart: {
            type: 'column'
        }
    }, {
        chart: {
            plotBackgroundColor: null,
            plotBorderWidth: null,
            plotShadow: false
        },
        plotOptions: {
            pie: {
                allowPointSelect: true,
                cursor: 'pointer',
                dataLabels: {
                    enabled: true,
                    color: '#000000',
                    connectorColor: '#000000',
                    formatter: function() {
                        return '<b>'+ this.point.name +'</b>: '+ ( Math.round( this.point.percentage*100 ) / 100 ) +' %';
                    }
                }
            }
        }
    }
];

Version data entries

12 entries across 12 versions & 4 rubygems

Version Path
activeadmin_ueditor-0.2.0 public/assets/ueditor/dialogs/charts/chart.config.js
neditor_rails-0.1.0 vendor/assets/javascripts/neditor/dialogs/charts/chart.config.js
baidu_ueditor_rails5-0.3.1 app/assets/javascripts/ueditor/dialogs/charts/chart.config.js
baidu_ueditor_rails5-0.3.0 app/assets/javascripts/ueditor/dialogs/charts/chart.config.js
baidu_ueditor_rails-0.2.3 vendor/assets/javascripts/ueditor/dialogs/charts/chart.config.js
baidu_ueditor_rails-0.2.2 vendor/assets/javascripts/ueditor/dialogs/charts/chart.config.js
baidu_ueditor_rails-0.2.1 vendor/assets/javascripts/ueditor/dialogs/charts/chart.config.js
baidu_ueditor_rails-0.2.0 vendor/assets/javascripts/ueditor/dialogs/charts/chart.config.js
baidu_ueditor_rails-0.1.0 vendor/assets/javascripts/ueditor/dialogs/charts/chart.config.js
baidu_ueditor_rails-0.0.5 vendor/assets/javascripts/ueditor/dialogs/charts/chart.config.js
baidu_ueditor_rails-0.0.4 vendor/assets/javascripts/ueditor/dialogs/charts/chart.config.js
baidu_ueditor_rails-0.0.3 vendor/assets/javascripts/ueditor/dialogs/charts/chart.config.js