// DEPRECATIONS
+/**
+ * Provided for backward compatibility, not available anymore
+ * @namespace Chart.Chart
+ * @deprecated since version 2.8.0
+ * @todo remove at version 3
+ * @private
+ */
+Chart.Chart = Chart;
+
/**
* Provided for backward compatibility, not available anymore
* @namespace Chart.Legend
});
});
+ describe('Chart.Chart', function() {
+ it('should be defined as an alias to Chart', function() {
+ expect(Chart.Chart).toBe(Chart);
+ });
+ });
+
describe('Chart.helpers.aliasPixel', function() {
it('should be defined as a function', function() {
expect(typeof Chart.helpers.aliasPixel).toBe('function');