UNPKG

@quartic/bokehjs

Version:

Interactive, novel data visualization

206 lines (185 loc) 7.03 kB
declare namespace Bokeh { export interface Glyph extends Model, IGlyph {} export interface IGlyph extends IModel { visible?: boolean; } export var AnnularWedge: { new(attributes?: IAnnularWedge, options?: ModelOpts): AnnularWedge }; export interface AnnularWedge extends Glyph, IAnnularWedge {} export interface IAnnularWedge extends IGlyph, FillProps, LineProps { x?: Numerical | Categorical; y?: Numerical | Categorical; inner_radius?: Spatial; outer_radius?: Spatial; start_angle?: Angular; end_angle?: Angular; direction?: Direction; } export var Annulus: { new(attributes?: IAnnulus, options?: ModelOpts): Annulus }; export interface Annulus extends Glyph, IAnnulus {} export interface IAnnulus extends IGlyph, FillProps, LineProps { x?: Numerical | Categorical; y?: Numerical | Categorical; inner_radius?: Spatial; outer_radius?: Spatial; } export var Arc: { new(attributes?: IArc, options?: ModelOpts): Arc }; export interface Arc extends Glyph, IArc {} export interface IArc extends IGlyph, LineProps { x?: Numerical | Categorical; y?: Numerical | Categorical; radius?: Spatial; start_angle?: Angular; end_angle?: Angular; direction?: Direction; } export var Bezier: { new(attributes?: IBezier, options?: ModelOpts): Bezier }; export interface Bezier extends Glyph, IBezier {} export interface IBezier extends IGlyph, LineProps { x0?: Numerical | Categorical; y0?: Numerical | Categorical; x1?: Numerical | Categorical; y1?: Numerical | Categorical; cx0?: Numerical | Categorical; cy0?: Numerical | Categorical; cx1?: Numerical | Categorical; cy1?: Numerical | Categorical; } export var Ellipse: { new(attributes?: IEllipse, options?: ModelOpts): Ellipse }; export interface Ellipse extends Glyph, IEllipse {} export interface IEllipse extends IGlyph, FillProps, LineProps { x?: Numerical | Categorical; y?: Numerical | Categorical; width?: Spatial; height?: Spatial; angle?: Angular; } export var ImageRGBA: { new(attributes?: IImageRGBA, options?: ModelOpts): ImageRGBA }; export interface ImageRGBA extends Glyph, IImageRGBA {} export interface IImageRGBA extends IGlyph { image?: Vectorized<Array<number>>; rows?: Vectorized<Int>; cols?: Vectorized<Int>; x?: Numerical | Categorical; y?: Numerical | Categorical; dw?: Spatial; dh?: Spatial; dilate?: boolean; } export var Image: { new(attributes?: IImage, options?: ModelOpts): Image }; export interface Image extends ImageRGBA, IImage {} export interface IImage extends IImageRGBA { color_mapper?: ColorMapper; } export var ImageURL: { new(attributes?: IImageURL, options?: ModelOpts): ImageURL }; export interface ImageURL extends Glyph, IImageURL {} export interface IImageURL extends IGlyph { url?: Vectorized<string>; x?: Numerical | Categorical; y?: Numerical | Categorical; w?: Spatial; h?: Spatial; angle?: Angular; global_alpha?: Percent; dilate?: boolean; anchor?: Anchor; retry_attempts?: Int; retry_timeout?: Int; } export var Line: { new(attributes?: ILine, options?: ModelOpts): Line }; export interface Line extends Glyph, ILine {} export interface ILine extends IGlyph, LineProps { x?: Numerical | Categorical; y?: Numerical | Categorical; } export var MultiLine: { new(attributes?: IMultiLine, options?: ModelOpts): MultiLine }; export interface MultiLine extends Glyph, IMultiLine {} export interface IMultiLine extends IGlyph, LineProps { xs?: MultiNumerical | MultiCategorical; ys?: MultiNumerical | MultiCategorical; } export var Oval: { new(attributes?: IOval, options?: ModelOpts): Oval }; export interface Oval extends Glyph, IOval {} export interface IOval extends IGlyph, FillProps, LineProps { x?: Numerical | Categorical; y?: Numerical | Categorical; width?: Spatial; height?: Spatial; angle?: Angular; } export var Patch: { new(attributes?: IPatch, options?: ModelOpts): Patch }; export interface Patch extends Glyph, IPatch {} export interface IPatch extends IGlyph, FillProps, LineProps { x?: Numerical | Categorical; y?: Numerical | Categorical; } export var Patches: { new(attributes?: IPatches, options?: ModelOpts): Patches }; export interface Patches extends Glyph, IPatches {} export interface IPatches extends IGlyph, LineProps, FillProps { xs?: MultiNumerical | MultiCategorical; ys?: MultiNumerical | MultiCategorical; } export var Quad: { new(attributes?: IQuad, options?: ModelOpts): Quad }; export interface Quad extends Glyph, IQuad {} export interface IQuad extends IGlyph, FillProps, LineProps { left?: Numerical | Categorical; right?: Numerical | Categorical; bottom?: Numerical | Categorical; top?: Numerical | Categorical; } export var Quadratic: { new(attributes?: IQuadratic, options?: ModelOpts): Quadratic }; export interface Quadratic extends Glyph, IQuadratic {} export interface IQuadratic extends IGlyph, LineProps { x0?: Numerical | Categorical; y0?: Numerical | Categorical; x1?: Numerical | Categorical; y1?: Numerical | Categorical; cx?: Numerical | Categorical; cy?: Numerical | Categorical; } export var Ray: { new(attributes?: IRay, options?: ModelOpts): Ray }; export interface Ray extends Glyph, IRay {} export interface IRay extends IGlyph, LineProps { x?: Numerical | Categorical; y?: Numerical | Categorical; length?: Spatial; angle?: Angular; } export var Rect: { new(attributes?: IRect, options?: ModelOpts): Rect }; export interface Rect extends Glyph, IRect {} export interface IRect extends IGlyph, FillProps, LineProps { x?: Numerical | Categorical; y?: Numerical | Categorical; width?: Spatial; height?: Spatial; angle?: Angular; dilate?: boolean; } export var Segment: { new(attributes?: ISegment, options?: ModelOpts): Segment }; export interface Segment extends Glyph, ISegment {} export interface ISegment extends IGlyph, LineProps { x0?: Numerical | Categorical; y0?: Numerical | Categorical; x1?: Numerical | Categorical; y1?: Numerical | Categorical; } export var Text: { new(attributes?: IText, options?: ModelOpts): Text }; export interface Text extends Glyph, IText {} export interface IText extends IGlyph, TextProps { x?: Numerical | Categorical; y?: Numerical | Categorical; text?: Vectorized<string>; angle?: Angular; x_offset?: Spatial; y_offset?: Spatial; } export var Wedge: { new(attributes?: IWedge, options?: ModelOpts): Wedge }; export interface Wedge extends Glyph, IWedge {} export interface IWedge extends IGlyph, FillProps, LineProps { x?: Numerical | Categorical; y?: Numerical | Categorical; radius?: Spatial; start_angle?: Angular; end_angle?: Angular; direction?: Direction; } }