최초 커밋
This commit is contained in:
74
AdminPoll/bower_components/highcharts/modules/gantt.src.d.ts
vendored
Normal file
74
AdminPoll/bower_components/highcharts/modules/gantt.src.d.ts
vendored
Normal file
@@ -0,0 +1,74 @@
|
||||
/*!*
|
||||
*
|
||||
* Copyright (c) Highsoft AS. All rights reserved.
|
||||
*
|
||||
*!*/
|
||||
import * as globals from "../globals.src";
|
||||
import * as _Highcharts from "../highcharts.src";
|
||||
/**
|
||||
* Adds the module to the imported Highcharts namespace.
|
||||
*
|
||||
* @param highcharts
|
||||
* The imported Highcharts namespace to extend.
|
||||
*/
|
||||
export function factory(highcharts: typeof Highcharts): void;
|
||||
declare module "../highcharts.src" {
|
||||
interface Point {
|
||||
/**
|
||||
* The ending X value of the range point.
|
||||
*/
|
||||
x2?: number;
|
||||
}
|
||||
interface PointOptionsObject {
|
||||
/**
|
||||
* The ending X value of the range point.
|
||||
*/
|
||||
x2?: number;
|
||||
}
|
||||
/**
|
||||
* Factory function for Gantt charts.
|
||||
*
|
||||
* @param renderTo
|
||||
* The DOM element to render to, or its id.
|
||||
*
|
||||
* @param options
|
||||
* The chart options structure.
|
||||
*
|
||||
* @param callback
|
||||
* Function to run when the chart has loaded and and all external
|
||||
* images are loaded. Defining a chart.events.load handler is
|
||||
* equivalent.
|
||||
*
|
||||
* @return Returns the Chart object.
|
||||
*/
|
||||
function ganttChart(renderTo: (string|HTMLDOMElement), options: Options, callback?: ChartCallbackFunction): Chart;
|
||||
/**
|
||||
* When we have vertical scrollbar, rifles and arrow in buttons should be
|
||||
* rotated. The same method is used in Navigator's handles, to rotate them.
|
||||
*
|
||||
* @param path
|
||||
* Path to be rotated.
|
||||
*
|
||||
* @param vertical
|
||||
* If vertical scrollbar, swap x-y values.
|
||||
*
|
||||
* @return Rotated path.
|
||||
*/
|
||||
function swapXY(path: SVGPathArray, vertical?: boolean): SVGPathArray;
|
||||
/**
|
||||
* Returns the first break found where the x is larger then break.from and
|
||||
* smaller then break.to.
|
||||
*
|
||||
* @param x
|
||||
* The number which should be within a break.
|
||||
*
|
||||
* @param breaks
|
||||
* The array of breaks to search within.
|
||||
*
|
||||
* @return Returns the first break found that matches, returns false if no
|
||||
* break is found.
|
||||
*/
|
||||
function findBreakAt(x: number, breaks: Array<XAxisBreaksOptions>): (XAxisBreaksOptions|undefined);
|
||||
}
|
||||
export default factory;
|
||||
export let Highcharts: typeof _Highcharts;
|
||||
Reference in New Issue
Block a user