Skip to content

Instantly share code, notes, and snippets.

@zxqx
Created March 11, 2014 23:12
Show Gist options
  • Save zxqx/9496962 to your computer and use it in GitHub Desktop.
Save zxqx/9496962 to your computer and use it in GitHub Desktop.
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