mirror of https://github.com/masayuki0812/c3.git
Quite good looking graph derived from d3.js
http://c3js.org
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
789 B
41 lines
789 B
// import { |
|
// CLASS, |
|
// isValue, |
|
// isFunction, |
|
// isString, |
|
// isUndefined, |
|
// isDefined, |
|
// ceil10, |
|
// asHalfPixel, |
|
// diffDomain, |
|
// isEmpty, |
|
// notEmpty, |
|
// getOption, |
|
// hasValue, |
|
// sanitise, |
|
// getPathBox, |
|
// ChartInternal } from '../chartinternal'; |
|
|
|
import Axis from './axis'; |
|
|
|
function API(owner) { |
|
this.owner = owner; |
|
} |
|
|
|
/* eslint-disable */ |
|
function inherit(base, derived) { |
|
if (Object.create) { |
|
derived.prototype = Object.create(base.prototype); |
|
} else { |
|
const f = function f() {}; |
|
f.prototype = base.prototype; |
|
derived.prototype = new f(); |
|
} |
|
|
|
derived.prototype.constructor = derived; |
|
|
|
return derived; |
|
} |
|
/* eslint-enable */ |
|
|
|
export { API, inherit, Axis };
|
|
|