Created
March 11, 2014 23:12
-
-
Save zxqx/9496962 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var __extends = require('dotmvc/lib/util/extends'); | |
var __mixin = require('dotmvc/lib/util/mixin'); | |
var KendoChart = require('./KendoChart.js'); | |
var KendoColumnSparkline = require('./KendoColumnSparkline.js'); | |
// Configs | |
var SeriesDefaults = require('./config/SeriesDefaults.js'); | |
var AxisDefaults = require('./config/AxisDefaults.js'); | |
var CategoryAxis = require('./config/CategoryAxis.js'); | |
var Tooltip = require('./config/Tooltip.js'); | |
module.exports = (function(_super) { | |
__extends(KendoBarChart, _super); | |
__mixin(KendoBarChart, SeriesDefaults); | |
__mixin(KendoBarChart, AxisDefaults); | |
__mixin(KendoBarChart, CategoryAxis); | |
__mixin(KendoBarChart, Tooltip); | |
KendoBarChart.COMPACT_VIEW = KendoColumnSparkline; | |
function KendoBarChart() | |
{ | |
_super.apply(this, arguments); | |
this.setSeriesDefaults({ type: 'column' }); | |
this.setAxisDefaults(); | |
this.setCategoryAxis(); | |
this.setTooltip(); | |
} | |
return KendoBarChart; | |
})(KendoChart); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment