katucharts.js 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +106 -0
- package/README.md +1100 -0
- package/dist/__vite-optional-peer-dep_jspdf_katucharts-BDMct_Gn.js +4 -0
- package/dist/accessibility/A11yModule.d.ts +26 -0
- package/dist/axis/Axis.d.ts +140 -0
- package/dist/axis/AxisCoordinator.d.ts +38 -0
- package/dist/bio.d.ts +22 -0
- package/dist/components/Credits.d.ts +38 -0
- package/dist/components/Crosshair.d.ts +15 -0
- package/dist/components/DataLabels.d.ts +7 -0
- package/dist/components/ExportButton.d.ts +27 -0
- package/dist/components/Legend.d.ts +53 -0
- package/dist/components/TitleRenderer.d.ts +19 -0
- package/dist/components/Tooltip.d.ts +61 -0
- package/dist/core/Chart.d.ts +156 -0
- package/dist/core/EventBus.d.ts +14 -0
- package/dist/core/InteractionController.d.ts +62 -0
- package/dist/core/OptionsParser.d.ts +61 -0
- package/dist/core/Registry.d.ts +27 -0
- package/dist/core/SVGRenderer.d.ts +48 -0
- package/dist/core/ScrollablePlotOverlay.d.ts +31 -0
- package/dist/core/StackComputer.d.ts +25 -0
- package/dist/core/StateManager.d.ts +21 -0
- package/dist/core/UpdateScheduler.d.ts +28 -0
- package/dist/core/animationConstants.d.ts +20 -0
- package/dist/core/chartTypes.d.ts +46 -0
- package/dist/core/registerAll.d.ts +4 -0
- package/dist/core/registerBio.d.ts +4 -0
- package/dist/core/registerCore.d.ts +4 -0
- package/dist/core/registerFinance.d.ts +4 -0
- package/dist/core/registerFinancial.d.ts +4 -0
- package/dist/core/registerFlow.d.ts +4 -0
- package/dist/core/registerGeneral.d.ts +4 -0
- package/dist/datatable/DataTable.d.ts +162 -0
- package/dist/datatable/DataTableDefaults.d.ts +7 -0
- package/dist/datatable/api/TableApi.d.ts +35 -0
- package/dist/datatable/columns/ColumnDef.d.ts +16 -0
- package/dist/datatable/columns/ColumnManager.d.ts +31 -0
- package/dist/datatable/data/DataProcessor.d.ts +46 -0
- package/dist/datatable/data/DataSource.d.ts +26 -0
- package/dist/datatable/editing/CellEditor.d.ts +29 -0
- package/dist/datatable/export/TableExport.d.ts +23 -0
- package/dist/datatable/locales/en.d.ts +9 -0
- package/dist/datatable/locales/es.d.ts +6 -0
- package/dist/datatable/locales/index.d.ts +22 -0
- package/dist/datatable/locales/pt-BR.d.ts +6 -0
- package/dist/datatable/locales/resolveLocale.d.ts +16 -0
- package/dist/datatable/locales/zh.d.ts +6 -0
- package/dist/datatable/render/CellRenderer.d.ts +24 -0
- package/dist/datatable/render/HeaderRenderer.d.ts +51 -0
- package/dist/datatable/render/PaginationRenderer.d.ts +26 -0
- package/dist/datatable/render/SearchRenderer.d.ts +21 -0
- package/dist/datatable/render/TableRenderer.d.ts +81 -0
- package/dist/datatable/render/ToolbarRenderer.d.ts +34 -0
- package/dist/datatable/render/icons.d.ts +24 -0
- package/dist/datatable/render/popover.d.ts +15 -0
- package/dist/datatable/selection/SelectionManager.d.ts +29 -0
- package/dist/datatable/themes/TableTheme.d.ts +36 -0
- package/dist/datatable/themes/styleSheet.d.ts +16 -0
- package/dist/datatable.d.ts +19 -0
- package/dist/export/ChartExporter.d.ts +50 -0
- package/dist/export/Export.d.ts +76 -0
- package/dist/finance.d.ts +49 -0
- package/dist/index.d.ts +67 -0
- package/dist/indicators/Indicator.d.ts +23 -0
- package/dist/indicators/expandIndicators.d.ts +18 -0
- package/dist/indicators/moving-averages/DEMA.d.ts +10 -0
- package/dist/indicators/moving-averages/EMA.d.ts +12 -0
- package/dist/indicators/moving-averages/SMA.d.ts +11 -0
- package/dist/indicators/moving-averages/TEMA.d.ts +10 -0
- package/dist/indicators/moving-averages/WMA.d.ts +12 -0
- package/dist/indicators/oscillators/CCI.d.ts +11 -0
- package/dist/indicators/oscillators/MACD.d.ts +20 -0
- package/dist/indicators/oscillators/Momentum.d.ts +10 -0
- package/dist/indicators/oscillators/ROC.d.ts +10 -0
- package/dist/indicators/oscillators/RSI.d.ts +11 -0
- package/dist/indicators/oscillators/Stochastic.d.ts +20 -0
- package/dist/indicators/registry.d.ts +9 -0
- package/dist/indicators/trend/ADX.d.ts +11 -0
- package/dist/indicators/trend/IchimokuCloud.d.ts +14 -0
- package/dist/indicators/trend/PSAR.d.ts +11 -0
- package/dist/indicators/util.d.ts +8 -0
- package/dist/indicators/volatility/ATR.d.ts +11 -0
- package/dist/indicators/volatility/BollingerBands.d.ts +11 -0
- package/dist/indicators/volume/OBV.d.ts +11 -0
- package/dist/indicators/volume/VBP.d.ts +12 -0
- package/dist/indicators/volume/VWAP.d.ts +12 -0
- package/dist/interaction/Drilldown.d.ts +29 -0
- package/dist/interaction/HoverManager.d.ts +47 -0
- package/dist/interaction/Zoom.d.ts +68 -0
- package/dist/katucharts-bio.es.js +5861 -0
- package/dist/katucharts-bio.umd.js +1 -0
- package/dist/katucharts-datatable.es.js +3363 -0
- package/dist/katucharts-datatable.umd.js +296 -0
- package/dist/katucharts-finance.es.js +4364 -0
- package/dist/katucharts-finance.umd.js +1 -0
- package/dist/katucharts-react.es.js +35 -0
- package/dist/katucharts-react.umd.js +1 -0
- package/dist/katucharts.es.js +20531 -0
- package/dist/katucharts.umd.js +9 -0
- package/dist/layout/LayoutEngine.d.ts +44 -0
- package/dist/license/LicenseManager.d.ts +63 -0
- package/dist/options/defaults.d.ts +5 -0
- package/dist/react/KatuChartsReact.d.ts +16 -0
- package/dist/react.d.ts +2 -0
- package/dist/responsive/ResponsiveEngine.d.ts +15 -0
- package/dist/series/BaseSeries.d.ts +186 -0
- package/dist/series/bioinformatics/CircosChart.d.ts +4 -0
- package/dist/series/bioinformatics/ClusteredHeatmapChart.d.ts +22 -0
- package/dist/series/bioinformatics/ForestPlotChart.d.ts +21 -0
- package/dist/series/bioinformatics/KaplanMeierChart.d.ts +22 -0
- package/dist/series/bioinformatics/ManhattanChart.d.ts +34 -0
- package/dist/series/bioinformatics/PCoAChart.d.ts +22 -0
- package/dist/series/bioinformatics/PhyloTreeChart.d.ts +27 -0
- package/dist/series/bioinformatics/SequenceLogoChart.d.ts +21 -0
- package/dist/series/bioinformatics/ViolinChart.d.ts +23 -0
- package/dist/series/bioinformatics/VolcanoChart.d.ts +28 -0
- package/dist/series/bioinformatics/circos/CircosChart.d.ts +20 -0
- package/dist/series/bioinformatics/circos/CircosColorScales.d.ts +6 -0
- package/dist/series/bioinformatics/circos/CircosComparativeChart.d.ts +41 -0
- package/dist/series/bioinformatics/circos/CircosHeatmapChart.d.ts +31 -0
- package/dist/series/bioinformatics/circos/CircosLayoutEngine.d.ts +37 -0
- package/dist/series/bioinformatics/circos/CircosRules.d.ts +6 -0
- package/dist/series/bioinformatics/circos/CircosSpiralChart.d.ts +39 -0
- package/dist/series/bioinformatics/circos/CircosTypes.d.ts +131 -0
- package/dist/series/bioinformatics/circos/tracks/AreaTrackRenderer.d.ts +7 -0
- package/dist/series/bioinformatics/circos/tracks/ConnectorTrackRenderer.d.ts +7 -0
- package/dist/series/bioinformatics/circos/tracks/GlyphTrackRenderer.d.ts +7 -0
- package/dist/series/bioinformatics/circos/tracks/HeatmapTrackRenderer.d.ts +7 -0
- package/dist/series/bioinformatics/circos/tracks/HighlightTrackRenderer.d.ts +6 -0
- package/dist/series/bioinformatics/circos/tracks/HistogramTrackRenderer.d.ts +7 -0
- package/dist/series/bioinformatics/circos/tracks/LineTrackRenderer.d.ts +7 -0
- package/dist/series/bioinformatics/circos/tracks/LinkTrackRenderer.d.ts +8 -0
- package/dist/series/bioinformatics/circos/tracks/LollipopTrackRenderer.d.ts +9 -0
- package/dist/series/bioinformatics/circos/tracks/RibbonTrackRenderer.d.ts +9 -0
- package/dist/series/bioinformatics/circos/tracks/ScatterTrackRenderer.d.ts +7 -0
- package/dist/series/bioinformatics/circos/tracks/StackTrackRenderer.d.ts +7 -0
- package/dist/series/bioinformatics/circos/tracks/TextTrackRenderer.d.ts +8 -0
- package/dist/series/bioinformatics/circos/tracks/TileTrackRenderer.d.ts +7 -0
- package/dist/series/bioinformatics/circos/tracks/TrackAxesRenderer.d.ts +6 -0
- package/dist/series/bioinformatics/circos/tracks/TrackBackgroundRenderer.d.ts +5 -0
- package/dist/series/cartesian/AreaChart.d.ts +33 -0
- package/dist/series/cartesian/BoxPlotChart.d.ts +24 -0
- package/dist/series/cartesian/BubbleChart.d.ts +34 -0
- package/dist/series/cartesian/ColumnChart.d.ts +37 -0
- package/dist/series/cartesian/LineChart.d.ts +28 -0
- package/dist/series/cartesian/ScatterChart.d.ts +20 -0
- package/dist/series/cartesian/SplineChart.d.ts +9 -0
- package/dist/series/cartesian/WaterfallChart.d.ts +25 -0
- package/dist/series/financial/AreaRangeChart.d.ts +24 -0
- package/dist/series/financial/BaselineChart.d.ts +20 -0
- package/dist/series/financial/CandlestickChart.d.ts +55 -0
- package/dist/series/financial/ColumnRangeChart.d.ts +16 -0
- package/dist/series/financial/FlagsChart.d.ts +34 -0
- package/dist/series/financial/HeikinAshiChart.d.ts +11 -0
- package/dist/series/financial/HollowCandlestickChart.d.ts +17 -0
- package/dist/series/financial/KagiChart.d.ts +23 -0
- package/dist/series/financial/LineBreakChart.d.ts +23 -0
- package/dist/series/financial/PointAndFigureChart.d.ts +24 -0
- package/dist/series/financial/RenkoChart.d.ts +22 -0
- package/dist/series/financial/VBPChart.d.ts +18 -0
- package/dist/series/financial/VolumeChart.d.ts +15 -0
- package/dist/series/flow/DependencyWheelChart.d.ts +23 -0
- package/dist/series/flow/NetworkGraphChart.d.ts +18 -0
- package/dist/series/flow/SankeyChart.d.ts +24 -0
- package/dist/series/gauge/GaugeChart.d.ts +40 -0
- package/dist/series/heatmap/HeatmapChart.d.ts +18 -0
- package/dist/series/hierarchical/SunburstChart.d.ts +44 -0
- package/dist/series/hierarchical/TreegraphChart.d.ts +19 -0
- package/dist/series/hierarchical/TreemapChart.d.ts +20 -0
- package/dist/series/hierarchical/WordcloudChart.d.ts +19 -0
- package/dist/series/index.d.ts +45 -0
- package/dist/series/map/FlowmapChart.d.ts +33 -0
- package/dist/series/map/MapChart.d.ts +53 -0
- package/dist/series/map/MapPointChart.d.ts +26 -0
- package/dist/series/map/mapProjection.d.ts +46 -0
- package/dist/series/pie/PieChart.d.ts +53 -0
- package/dist/series/polar/PolarChart.d.ts +18 -0
- package/dist/series/race/BarRaceChart.d.ts +44 -0
- package/dist/series/timeline/TimelineChart.d.ts +23 -0
- package/dist/series/venn/VennChart.d.ts +28 -0
- package/dist/stock/DataGrouping.d.ts +21 -0
- package/dist/stock/Navigator.d.ts +25 -0
- package/dist/stock/RangeSelector.d.ts +9 -0
- package/dist/stock/StockController.d.ts +47 -0
- package/dist/stockcharts.d.ts +8 -0
- package/dist/streaming/StreamAdapter.d.ts +36 -0
- package/dist/types/datatable-options.d.ts +633 -0
- package/dist/types/options.d.ts +1333 -0
- package/dist/utils/CircularBuffer.d.ts +24 -0
- package/dist/utils/chartText.d.ts +18 -0
- package/dist/utils/color.d.ts +23 -0
- package/dist/utils/decimation.d.ts +19 -0
- package/dist/utils/deepMerge.d.ts +5 -0
- package/dist/utils/dom.d.ts +10 -0
- package/dist/utils/format.d.ts +42 -0
- package/dist/utils/index.d.ts +7 -0
- package/dist/utils/math.d.ts +6 -0
- package/dist/utils/throttle.d.ts +2 -0
- package/package.json +95 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { BaseSeries } from '../BaseSeries';
|
|
2
|
+
import type { InternalSeriesConfig } from '../../types/options';
|
|
3
|
+
export declare class BaselineChart extends BaseSeries {
|
|
4
|
+
constructor(config: InternalSeriesConfig);
|
|
5
|
+
render(): void;
|
|
6
|
+
/**
|
|
7
|
+
* Renders an area + line pair clipped to one side of the threshold.
|
|
8
|
+
*/
|
|
9
|
+
private renderZone;
|
|
10
|
+
/**
|
|
11
|
+
* Stroke-dasharray draw-in animation from left to right.
|
|
12
|
+
*/
|
|
13
|
+
private animateDrawIn;
|
|
14
|
+
getDataExtents(): {
|
|
15
|
+
xMin: number;
|
|
16
|
+
xMax: number;
|
|
17
|
+
yMin: number;
|
|
18
|
+
yMax: number;
|
|
19
|
+
};
|
|
20
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import 'd3-transition';
|
|
2
|
+
import { BaseSeries } from '../BaseSeries';
|
|
3
|
+
import type { InternalSeriesConfig } from '../../types/options';
|
|
4
|
+
export interface CandleStyleContext {
|
|
5
|
+
open: number;
|
|
6
|
+
high: number;
|
|
7
|
+
low: number;
|
|
8
|
+
close: number;
|
|
9
|
+
isUp: boolean;
|
|
10
|
+
index: number;
|
|
11
|
+
data: any[];
|
|
12
|
+
upColor: string;
|
|
13
|
+
downColor: string;
|
|
14
|
+
upLineColor: string;
|
|
15
|
+
downLineColor: string;
|
|
16
|
+
}
|
|
17
|
+
export declare class CandlestickChart extends BaseSeries {
|
|
18
|
+
private selectedIndices;
|
|
19
|
+
constructor(config: InternalSeriesConfig);
|
|
20
|
+
/**
|
|
21
|
+
* Per-candle body fill, border stroke and wick color. Standard candlesticks
|
|
22
|
+
* fill solid by direction; subclasses (hollow) override this hook to change
|
|
23
|
+
* the coloring rule without duplicating the render loop.
|
|
24
|
+
*/
|
|
25
|
+
protected getCandleStyle(ctx: CandleStyleContext): {
|
|
26
|
+
fill: string;
|
|
27
|
+
stroke: string;
|
|
28
|
+
wick: string;
|
|
29
|
+
};
|
|
30
|
+
/** CSS class for each candle group; overridden by subclasses to add a marker class. */
|
|
31
|
+
protected getCandleClass(): string;
|
|
32
|
+
render(): void;
|
|
33
|
+
private renderCandlestickLabels;
|
|
34
|
+
/**
|
|
35
|
+
* Groups OHLC data when dataGrouping is enabled, aggregating open/high/low/close
|
|
36
|
+
* within each group interval using the standard OHLC approximation.
|
|
37
|
+
*/
|
|
38
|
+
private applyDataGrouping;
|
|
39
|
+
getDataExtents(): {
|
|
40
|
+
xMin: number;
|
|
41
|
+
xMax: number;
|
|
42
|
+
yMin: number;
|
|
43
|
+
yMax: number;
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
export declare class OHLCChart extends BaseSeries {
|
|
47
|
+
constructor(config: InternalSeriesConfig);
|
|
48
|
+
render(): void;
|
|
49
|
+
getDataExtents(): {
|
|
50
|
+
xMin: number;
|
|
51
|
+
xMax: number;
|
|
52
|
+
yMin: number;
|
|
53
|
+
yMax: number;
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Column range series: a vertical bar spanning from a low to a high value at
|
|
3
|
+
* each x (e.g. daily temperature min/max).
|
|
4
|
+
*/
|
|
5
|
+
import { BaseSeries } from '../BaseSeries';
|
|
6
|
+
import type { InternalSeriesConfig } from '../../types/options';
|
|
7
|
+
export declare class ColumnRangeChart extends BaseSeries {
|
|
8
|
+
constructor(config: InternalSeriesConfig);
|
|
9
|
+
render(): void;
|
|
10
|
+
getDataExtents(): {
|
|
11
|
+
xMin: number;
|
|
12
|
+
xMax: number;
|
|
13
|
+
yMin: number;
|
|
14
|
+
yMax: number;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Event marker/flag series for annotating price charts.
|
|
3
|
+
* Renders flags at specific x positions with configurable shapes
|
|
4
|
+
* (flag, circlepin, squarepin) that can optionally attach to another series.
|
|
5
|
+
*/
|
|
6
|
+
import { BaseSeries } from '../BaseSeries';
|
|
7
|
+
import type { InternalSeriesConfig } from '../../types/options';
|
|
8
|
+
export declare class FlagsChart extends BaseSeries {
|
|
9
|
+
constructor(config: InternalSeriesConfig);
|
|
10
|
+
render(): void;
|
|
11
|
+
/**
|
|
12
|
+
* Flags are decorative markers and should not influence the y-axis range.
|
|
13
|
+
* Only x extents are contributed.
|
|
14
|
+
*/
|
|
15
|
+
getDataExtents(): {
|
|
16
|
+
xMin: number;
|
|
17
|
+
xMax: number;
|
|
18
|
+
yMin: number;
|
|
19
|
+
yMax: number;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Find the series referenced by the onSeries config option.
|
|
23
|
+
* When found, flags will attach at the y-value of that series at each flag's x position.
|
|
24
|
+
*/
|
|
25
|
+
private resolveOnSeries;
|
|
26
|
+
/**
|
|
27
|
+
* Determine the vertical anchor point for a flag. If onSeries is set,
|
|
28
|
+
* interpolate the target series y-value at the flag's x position.
|
|
29
|
+
* Otherwise anchor at the top of the plot area.
|
|
30
|
+
*/
|
|
31
|
+
private resolveAnchorY;
|
|
32
|
+
private renderShape;
|
|
33
|
+
private attachFlagEvents;
|
|
34
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CandlestickChart } from './CandlestickChart';
|
|
2
|
+
import type { InternalSeriesConfig } from '../../types/options';
|
|
3
|
+
export declare class HeikinAshiChart extends CandlestickChart {
|
|
4
|
+
constructor(config: InternalSeriesConfig);
|
|
5
|
+
/**
|
|
6
|
+
* Transforms raw OHLC data into Heikin-Ashi candles before rendering.
|
|
7
|
+
* HA values smooth out price action by averaging open/close and
|
|
8
|
+
* adjusting high/low to the HA range.
|
|
9
|
+
*/
|
|
10
|
+
processData(): void;
|
|
11
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { CandlestickChart, type CandleStyleContext } from './CandlestickChart';
|
|
2
|
+
/**
|
|
3
|
+
* Hollow candlesticks: fill and stroke are driven by the trend direction
|
|
4
|
+
* (close vs the previous candle's close) rather than the intra-candle
|
|
5
|
+
* open/close relationship. Bullish (up-trend) candles are hollow.
|
|
6
|
+
*
|
|
7
|
+
* Reuses CandlestickChart's render pipeline entirely, overriding only the
|
|
8
|
+
* per-candle coloring rule.
|
|
9
|
+
*/
|
|
10
|
+
export declare class HollowCandlestickChart extends CandlestickChart {
|
|
11
|
+
protected getCandleStyle(ctx: CandleStyleContext): {
|
|
12
|
+
fill: string;
|
|
13
|
+
stroke: string;
|
|
14
|
+
wick: string;
|
|
15
|
+
};
|
|
16
|
+
protected getCandleClass(): string;
|
|
17
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Kagi chart series. Direction-change line chart that shows supply/demand
|
|
3
|
+
* through thick (yang) and thin (yin) lines based on shoulder/waist breakouts.
|
|
4
|
+
*/
|
|
5
|
+
import { BaseSeries } from '../BaseSeries';
|
|
6
|
+
import type { InternalSeriesConfig } from '../../types/options';
|
|
7
|
+
export declare class KagiChart extends BaseSeries {
|
|
8
|
+
private segments;
|
|
9
|
+
constructor(config: InternalSeriesConfig);
|
|
10
|
+
/**
|
|
11
|
+
* Convert close prices into Kagi segments. Direction reverses when price
|
|
12
|
+
* moves against current trend by reversalAmount. Lines thicken (yang) when
|
|
13
|
+
* price exceeds a previous shoulder, thin (yin) when breaking a waist.
|
|
14
|
+
*/
|
|
15
|
+
processData(): void;
|
|
16
|
+
render(): void;
|
|
17
|
+
getDataExtents(): {
|
|
18
|
+
xMin: number;
|
|
19
|
+
xMax: number;
|
|
20
|
+
yMin: number;
|
|
21
|
+
yMax: number;
|
|
22
|
+
};
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* N-Line Break chart series. Draws blocks only when the close price
|
|
3
|
+
* exceeds the high or low of the previous N blocks, filtering noise.
|
|
4
|
+
*/
|
|
5
|
+
import { BaseSeries } from '../BaseSeries';
|
|
6
|
+
import type { InternalSeriesConfig } from '../../types/options';
|
|
7
|
+
export declare class LineBreakChart extends BaseSeries {
|
|
8
|
+
private blocks;
|
|
9
|
+
constructor(config: InternalSeriesConfig);
|
|
10
|
+
/**
|
|
11
|
+
* Implement N-line break logic: a new block is drawn only when the close
|
|
12
|
+
* exceeds the high of the last N up-blocks or breaks the low of the last
|
|
13
|
+
* N down-blocks. Otherwise the price point is ignored.
|
|
14
|
+
*/
|
|
15
|
+
processData(): void;
|
|
16
|
+
render(): void;
|
|
17
|
+
getDataExtents(): {
|
|
18
|
+
xMin: number;
|
|
19
|
+
xMax: number;
|
|
20
|
+
yMin: number;
|
|
21
|
+
yMax: number;
|
|
22
|
+
};
|
|
23
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Point & Figure chart series. Renders columns of X's (rising prices)
|
|
3
|
+
* and O's (falling prices) based on box-size quantized price movements.
|
|
4
|
+
*/
|
|
5
|
+
import { BaseSeries } from '../BaseSeries';
|
|
6
|
+
import type { InternalSeriesConfig } from '../../types/options';
|
|
7
|
+
export declare class PointAndFigureChart extends BaseSeries {
|
|
8
|
+
private columns;
|
|
9
|
+
constructor(config: InternalSeriesConfig);
|
|
10
|
+
/**
|
|
11
|
+
* Convert close prices into Point & Figure columns. Each column contains
|
|
12
|
+
* boxes quantized to boxSize. A new column starts when price reverses
|
|
13
|
+
* by at least reversalAmount boxes.
|
|
14
|
+
*/
|
|
15
|
+
processData(): void;
|
|
16
|
+
render(): void;
|
|
17
|
+
private getTotalBoxCount;
|
|
18
|
+
getDataExtents(): {
|
|
19
|
+
xMin: number;
|
|
20
|
+
xMax: number;
|
|
21
|
+
yMin: number;
|
|
22
|
+
yMax: number;
|
|
23
|
+
};
|
|
24
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Renko brick chart series. Price-only chart that filters out time,
|
|
3
|
+
* drawing uniform bricks only when price moves by a fixed amount.
|
|
4
|
+
*/
|
|
5
|
+
import { BaseSeries } from '../BaseSeries';
|
|
6
|
+
import type { InternalSeriesConfig } from '../../types/options';
|
|
7
|
+
export declare class RenkoChart extends BaseSeries {
|
|
8
|
+
private bricks;
|
|
9
|
+
constructor(config: InternalSeriesConfig);
|
|
10
|
+
/**
|
|
11
|
+
* Convert raw close prices into Renko bricks. A new brick is created
|
|
12
|
+
* each time the close price moves brickSize away from the last brick's edge.
|
|
13
|
+
*/
|
|
14
|
+
processData(): void;
|
|
15
|
+
render(): void;
|
|
16
|
+
getDataExtents(): {
|
|
17
|
+
xMin: number;
|
|
18
|
+
xMax: number;
|
|
19
|
+
yMin: number;
|
|
20
|
+
yMax: number;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Volume-by-Price renderer: horizontal bars anchored to the left edge of the
|
|
3
|
+
* plot, one per price bin, with width proportional to the volume traded in that
|
|
4
|
+
* band. Overlays the price chart on the shared price (y) axis and does not
|
|
5
|
+
* affect axis extents.
|
|
6
|
+
*/
|
|
7
|
+
import { BaseSeries } from '../BaseSeries';
|
|
8
|
+
import type { InternalSeriesConfig } from '../../types/options';
|
|
9
|
+
export declare class VBPChart extends BaseSeries {
|
|
10
|
+
constructor(config: InternalSeriesConfig);
|
|
11
|
+
render(): void;
|
|
12
|
+
getDataExtents(): {
|
|
13
|
+
xMin: number;
|
|
14
|
+
xMax: number;
|
|
15
|
+
yMin: number;
|
|
16
|
+
yMax: number;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { BaseSeries } from '../BaseSeries';
|
|
2
|
+
import type { InternalSeriesConfig } from '../../types/options';
|
|
3
|
+
export declare class VolumeChart extends BaseSeries {
|
|
4
|
+
constructor(config: InternalSeriesConfig);
|
|
5
|
+
render(): void;
|
|
6
|
+
/**
|
|
7
|
+
* Volume always starts from zero on the y-axis.
|
|
8
|
+
*/
|
|
9
|
+
getDataExtents(): {
|
|
10
|
+
xMin: number;
|
|
11
|
+
xMax: number;
|
|
12
|
+
yMin: number;
|
|
13
|
+
yMax: number;
|
|
14
|
+
};
|
|
15
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import 'd3-transition';
|
|
2
|
+
import { BaseSeries } from '../BaseSeries';
|
|
3
|
+
import type { InternalSeriesConfig } from '../../types/options';
|
|
4
|
+
export declare class DependencyWheelChart extends BaseSeries {
|
|
5
|
+
constructor(config: InternalSeriesConfig);
|
|
6
|
+
render(): void;
|
|
7
|
+
/**
|
|
8
|
+
* Vertically distribute leader-line labels on one side of the wheel so they never overlap,
|
|
9
|
+
* dropping the lowest-ranked labels when the side runs out of room. Mirrors PieChart.distribute.
|
|
10
|
+
*/
|
|
11
|
+
private distributeChordLabels;
|
|
12
|
+
private distributeBoxes;
|
|
13
|
+
private resolvePercent;
|
|
14
|
+
private normalizeChordWidths;
|
|
15
|
+
private sortChordEndpoints;
|
|
16
|
+
private buildMatrix;
|
|
17
|
+
getDataExtents(): {
|
|
18
|
+
xMin: number;
|
|
19
|
+
xMax: number;
|
|
20
|
+
yMin: number;
|
|
21
|
+
yMax: number;
|
|
22
|
+
};
|
|
23
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import 'd3-transition';
|
|
2
|
+
import { BaseSeries } from '../BaseSeries';
|
|
3
|
+
import type { InternalSeriesConfig } from '../../types/options';
|
|
4
|
+
export declare class NetworkGraphChart extends BaseSeries {
|
|
5
|
+
private simulation;
|
|
6
|
+
constructor(config: InternalSeriesConfig);
|
|
7
|
+
render(): void;
|
|
8
|
+
private updatePositions;
|
|
9
|
+
private getDashArray;
|
|
10
|
+
private buildGraph;
|
|
11
|
+
getDataExtents(): {
|
|
12
|
+
xMin: number;
|
|
13
|
+
xMax: number;
|
|
14
|
+
yMin: number;
|
|
15
|
+
yMax: number;
|
|
16
|
+
};
|
|
17
|
+
destroy(): void;
|
|
18
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import 'd3-transition';
|
|
2
|
+
import { BaseSeries } from '../BaseSeries';
|
|
3
|
+
import type { InternalSeriesConfig } from '../../types/options';
|
|
4
|
+
export declare class SankeyChart extends BaseSeries {
|
|
5
|
+
private getBaseFlowDuration;
|
|
6
|
+
constructor(config: InternalSeriesConfig);
|
|
7
|
+
render(): void;
|
|
8
|
+
private applyExplicitColumnLayout;
|
|
9
|
+
/**
|
|
10
|
+
* Re-stack each column top-to-bottom by descending value while preserving
|
|
11
|
+
* d3-sankey's x-positions and per-node heights. Used when columns are
|
|
12
|
+
* inferred (no explicit `column` field) — gives a consistent value
|
|
13
|
+
* hierarchy so the most-important labels survive the overlap-hiding pass.
|
|
14
|
+
*/
|
|
15
|
+
private reorderNodesByValueDesc;
|
|
16
|
+
private centerAndSpreadNodes;
|
|
17
|
+
private buildGraph;
|
|
18
|
+
getDataExtents(): {
|
|
19
|
+
xMin: number;
|
|
20
|
+
xMax: number;
|
|
21
|
+
yMin: number;
|
|
22
|
+
yMax: number;
|
|
23
|
+
};
|
|
24
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import 'd3-transition';
|
|
2
|
+
import { BaseSeries } from '../BaseSeries';
|
|
3
|
+
import type { InternalSeriesConfig } from '../../types/options';
|
|
4
|
+
export declare class GaugeChart extends BaseSeries {
|
|
5
|
+
constructor(config: InternalSeriesConfig);
|
|
6
|
+
render(): void;
|
|
7
|
+
private buildNeedlePath;
|
|
8
|
+
private renderPaneBackground;
|
|
9
|
+
private renderPlotBands;
|
|
10
|
+
private renderTickMarks;
|
|
11
|
+
private generateTicks;
|
|
12
|
+
private renderValueLabel;
|
|
13
|
+
private resolvePercent;
|
|
14
|
+
getDataExtents(): {
|
|
15
|
+
xMin: number;
|
|
16
|
+
xMax: number;
|
|
17
|
+
yMin: number;
|
|
18
|
+
yMax: number;
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
export declare class SolidGaugeChart extends BaseSeries {
|
|
22
|
+
constructor(config: InternalSeriesConfig);
|
|
23
|
+
render(): void;
|
|
24
|
+
private renderSingleArc;
|
|
25
|
+
private resolveArcColor;
|
|
26
|
+
private getStopColor;
|
|
27
|
+
private resolveRadiusValue;
|
|
28
|
+
private renderPaneBackground;
|
|
29
|
+
private renderPlotBands;
|
|
30
|
+
private renderTickMarks;
|
|
31
|
+
private generateTicks;
|
|
32
|
+
private renderValueLabel;
|
|
33
|
+
private resolvePercent;
|
|
34
|
+
getDataExtents(): {
|
|
35
|
+
xMin: number;
|
|
36
|
+
xMax: number;
|
|
37
|
+
yMin: number;
|
|
38
|
+
yMax: number;
|
|
39
|
+
};
|
|
40
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import 'd3-transition';
|
|
2
|
+
import { BaseSeries } from '../BaseSeries';
|
|
3
|
+
import type { InternalSeriesConfig } from '../../types/options';
|
|
4
|
+
export declare class HeatmapChart extends BaseSeries {
|
|
5
|
+
constructor(config: InternalSeriesConfig);
|
|
6
|
+
render(): void;
|
|
7
|
+
private renderInterpolated;
|
|
8
|
+
private buildColorScale;
|
|
9
|
+
private renderColorAxis;
|
|
10
|
+
private renderHeatmapLabels;
|
|
11
|
+
private getUniqueValues;
|
|
12
|
+
getDataExtents(): {
|
|
13
|
+
xMin: number;
|
|
14
|
+
xMax: number;
|
|
15
|
+
yMin: number;
|
|
16
|
+
yMax: number;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import 'd3-transition';
|
|
2
|
+
import { BaseSeries } from '../BaseSeries';
|
|
3
|
+
import type { InternalSeriesConfig } from '../../types/options';
|
|
4
|
+
export declare class SunburstChart extends BaseSeries {
|
|
5
|
+
private currentRoot;
|
|
6
|
+
constructor(config: InternalSeriesConfig);
|
|
7
|
+
render(): void;
|
|
8
|
+
private isAncestorOf;
|
|
9
|
+
/**
|
|
10
|
+
* Builds hierarchy from either nested children format or flat id/parent format.
|
|
11
|
+
*/
|
|
12
|
+
private buildHierarchy;
|
|
13
|
+
private prepareNestedData;
|
|
14
|
+
private getMaxDepth;
|
|
15
|
+
/**
|
|
16
|
+
* Computes ring widths based on levels config (weight/percentage/pixels).
|
|
17
|
+
*/
|
|
18
|
+
private computeRingWidths;
|
|
19
|
+
/**
|
|
20
|
+
* Applies custom radii (_y0, _y1) to each node based on computed ring widths.
|
|
21
|
+
* When levelIsConstant is true, levels keep their size regardless of traversal depth.
|
|
22
|
+
*/
|
|
23
|
+
private applyCustomRadii;
|
|
24
|
+
/**
|
|
25
|
+
* Assigns colors following this pattern:
|
|
26
|
+
* - Root: transparent
|
|
27
|
+
* - Level with colorByPoint: each node gets a unique palette color
|
|
28
|
+
* - Deeper levels: inherit parent color with brightness variation across siblings
|
|
29
|
+
*/
|
|
30
|
+
private assignColors;
|
|
31
|
+
private renderLabels;
|
|
32
|
+
/**
|
|
33
|
+
* Renders breadcrumb trail showing path from root to current traversed node.
|
|
34
|
+
*/
|
|
35
|
+
private renderBreadcrumbs;
|
|
36
|
+
private resolvePercent;
|
|
37
|
+
private resolveBorderRadius;
|
|
38
|
+
getDataExtents(): {
|
|
39
|
+
xMin: number;
|
|
40
|
+
xMax: number;
|
|
41
|
+
yMin: number;
|
|
42
|
+
yMax: number;
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tidy-tree layout for hierarchical node/edge data. Accepts either parent/id
|
|
3
|
+
* rows or nested children; emits circles for nodes and
|
|
4
|
+
* smooth paths for edges.
|
|
5
|
+
*/
|
|
6
|
+
import 'd3-transition';
|
|
7
|
+
import { BaseSeries } from '../BaseSeries';
|
|
8
|
+
import type { InternalSeriesConfig } from '../../types/options';
|
|
9
|
+
export declare class TreegraphChart extends BaseSeries {
|
|
10
|
+
constructor(config: InternalSeriesConfig);
|
|
11
|
+
render(): void;
|
|
12
|
+
private buildRoot;
|
|
13
|
+
getDataExtents(): {
|
|
14
|
+
xMin: number;
|
|
15
|
+
xMax: number;
|
|
16
|
+
yMin: number;
|
|
17
|
+
yMax: number;
|
|
18
|
+
};
|
|
19
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import 'd3-transition';
|
|
2
|
+
import { BaseSeries } from '../BaseSeries';
|
|
3
|
+
import type { InternalSeriesConfig } from '../../types/options';
|
|
4
|
+
export declare class TreemapChart extends BaseSeries {
|
|
5
|
+
private currentRoot;
|
|
6
|
+
constructor(config: InternalSeriesConfig);
|
|
7
|
+
render(): void;
|
|
8
|
+
private buildHierarchy;
|
|
9
|
+
/**
|
|
10
|
+
* Renders breadcrumb navigation trail showing the path from root to current node.
|
|
11
|
+
*/
|
|
12
|
+
private renderBreadcrumbs;
|
|
13
|
+
private renderLabels;
|
|
14
|
+
getDataExtents(): {
|
|
15
|
+
xMin: number;
|
|
16
|
+
xMax: number;
|
|
17
|
+
yMin: number;
|
|
18
|
+
yMax: number;
|
|
19
|
+
};
|
|
20
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Wordcloud with Archimedean-spiral placement. Each word is scaled by weight
|
|
3
|
+
* into a font-size range and placed without overlapping any previously-placed
|
|
4
|
+
* word. Rotation angles cycle from a configurable list.
|
|
5
|
+
*/
|
|
6
|
+
import { BaseSeries } from '../BaseSeries';
|
|
7
|
+
import type { InternalSeriesConfig } from '../../types/options';
|
|
8
|
+
export declare class WordcloudChart extends BaseSeries {
|
|
9
|
+
constructor(config: InternalSeriesConfig);
|
|
10
|
+
render(): void;
|
|
11
|
+
private createMeasurer;
|
|
12
|
+
private findSpiralSpot;
|
|
13
|
+
getDataExtents(): {
|
|
14
|
+
xMin: number;
|
|
15
|
+
xMax: number;
|
|
16
|
+
yMin: number;
|
|
17
|
+
yMax: number;
|
|
18
|
+
};
|
|
19
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export { BaseSeries, type SeriesContext } from './BaseSeries';
|
|
2
|
+
export { LineChart } from './cartesian/LineChart';
|
|
3
|
+
export { SplineChart } from './cartesian/SplineChart';
|
|
4
|
+
export { AreaChart, AreaSplineChart } from './cartesian/AreaChart';
|
|
5
|
+
export { ColumnChart, BarChart } from './cartesian/ColumnChart';
|
|
6
|
+
export { ScatterChart } from './cartesian/ScatterChart';
|
|
7
|
+
export { BubbleChart } from './cartesian/BubbleChart';
|
|
8
|
+
export { WaterfallChart } from './cartesian/WaterfallChart';
|
|
9
|
+
export { BoxPlotChart } from './cartesian/BoxPlotChart';
|
|
10
|
+
export { PieChart, FunnelChart, PyramidChart } from './pie/PieChart';
|
|
11
|
+
export { TreemapChart } from './hierarchical/TreemapChart';
|
|
12
|
+
export { SunburstChart } from './hierarchical/SunburstChart';
|
|
13
|
+
export { SankeyChart } from './flow/SankeyChart';
|
|
14
|
+
export { NetworkGraphChart } from './flow/NetworkGraphChart';
|
|
15
|
+
export { DependencyWheelChart } from './flow/DependencyWheelChart';
|
|
16
|
+
export { GaugeChart, SolidGaugeChart } from './gauge/GaugeChart';
|
|
17
|
+
export { PolarChart } from './polar/PolarChart';
|
|
18
|
+
export { CandlestickChart, OHLCChart } from './financial/CandlestickChart';
|
|
19
|
+
export { HeikinAshiChart } from './financial/HeikinAshiChart';
|
|
20
|
+
export { HollowCandlestickChart } from './financial/HollowCandlestickChart';
|
|
21
|
+
export { VolumeChart } from './financial/VolumeChart';
|
|
22
|
+
export { AreaRangeChart } from './financial/AreaRangeChart';
|
|
23
|
+
export { BaselineChart } from './financial/BaselineChart';
|
|
24
|
+
export { FlagsChart } from './financial/FlagsChart';
|
|
25
|
+
export { RenkoChart } from './financial/RenkoChart';
|
|
26
|
+
export { KagiChart } from './financial/KagiChart';
|
|
27
|
+
export { PointAndFigureChart } from './financial/PointAndFigureChart';
|
|
28
|
+
export { LineBreakChart } from './financial/LineBreakChart';
|
|
29
|
+
export { HeatmapChart } from './heatmap/HeatmapChart';
|
|
30
|
+
export { TimelineChart, GanttChart } from './timeline/TimelineChart';
|
|
31
|
+
export { MapChart } from './map/MapChart';
|
|
32
|
+
export { VennChart } from './venn/VennChart';
|
|
33
|
+
export { BarRaceChart } from './race/BarRaceChart';
|
|
34
|
+
export { VolcanoChart } from './bioinformatics/VolcanoChart';
|
|
35
|
+
export { ManhattanChart } from './bioinformatics/ManhattanChart';
|
|
36
|
+
export { ViolinChart } from './bioinformatics/ViolinChart';
|
|
37
|
+
export { KaplanMeierChart } from './bioinformatics/KaplanMeierChart';
|
|
38
|
+
export { ForestPlotChart } from './bioinformatics/ForestPlotChart';
|
|
39
|
+
export { SequenceLogoChart } from './bioinformatics/SequenceLogoChart';
|
|
40
|
+
export { ClusteredHeatmapChart } from './bioinformatics/ClusteredHeatmapChart';
|
|
41
|
+
export { PhyloTreeChart } from './bioinformatics/PhyloTreeChart';
|
|
42
|
+
export { CircosChart } from './bioinformatics/CircosChart';
|
|
43
|
+
export { CircosHeatmapChart } from './bioinformatics/circos/CircosHeatmapChart';
|
|
44
|
+
export { CircosComparativeChart } from './bioinformatics/circos/CircosComparativeChart';
|
|
45
|
+
export { CircosSpiralChart } from './bioinformatics/circos/CircosSpiralChart';
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import 'd3-transition';
|
|
2
|
+
import { BaseSeries } from '../BaseSeries';
|
|
3
|
+
import type { InternalSeriesConfig } from '../../types/options';
|
|
4
|
+
/**
|
|
5
|
+
* `flowmap` series — draws directional, tapered, curved flow bands between two
|
|
6
|
+
* geographic endpoints. Endpoints (`from`/`to`) may be `[lon, lat]` pairs or
|
|
7
|
+
* the `id` of a point in a sibling `mappoint` series; either way they are
|
|
8
|
+
* projected through the same projection as the basemap. Band thickness scales
|
|
9
|
+
* with each link's `weight`, and an arrowhead marks the destination. Mirrors
|
|
10
|
+
* the `flowmap` series type.
|
|
11
|
+
*/
|
|
12
|
+
export declare class FlowmapChart extends BaseSeries {
|
|
13
|
+
constructor(config: InternalSeriesConfig);
|
|
14
|
+
private resolveMapData;
|
|
15
|
+
/** Maps point ids (from sibling `mappoint`/`map` series) to `[lon, lat]`. */
|
|
16
|
+
private buildIdMap;
|
|
17
|
+
private resolveEndpoint;
|
|
18
|
+
render(): void;
|
|
19
|
+
/**
|
|
20
|
+
* Builds a tapered, curved band from `S` (narrow origin) to `T` (full width
|
|
21
|
+
* at the destination). The centerline is a quadratic Bézier bowed sideways by
|
|
22
|
+
* `curveFactor`; the band outline samples that curve and offsets each sample
|
|
23
|
+
* along its normal by a half-width that grows from origin to destination.
|
|
24
|
+
*/
|
|
25
|
+
private buildFlowPath;
|
|
26
|
+
private arrowHead;
|
|
27
|
+
getDataExtents(): {
|
|
28
|
+
xMin: number;
|
|
29
|
+
xMax: number;
|
|
30
|
+
yMin: number;
|
|
31
|
+
yMax: number;
|
|
32
|
+
};
|
|
33
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import 'd3-transition';
|
|
2
|
+
import { BaseSeries } from '../BaseSeries';
|
|
3
|
+
import type { InternalSeriesConfig } from '../../types/options';
|
|
4
|
+
export declare class MapChart extends BaseSeries {
|
|
5
|
+
private zoomBehavior;
|
|
6
|
+
private mapGroup;
|
|
7
|
+
private featurePaths;
|
|
8
|
+
private dataMap;
|
|
9
|
+
private colorScale;
|
|
10
|
+
private globeProjection;
|
|
11
|
+
private globePathGen;
|
|
12
|
+
private autoRotateTimer;
|
|
13
|
+
constructor(config: InternalSeriesConfig);
|
|
14
|
+
destroy(): void;
|
|
15
|
+
render(): void;
|
|
16
|
+
/**
|
|
17
|
+
* Builds a 0‒1 value normalizer honoring `colorAxis.type`. A `'logarithmic'`
|
|
18
|
+
* axis maps values on a log scale; it degrades to linear when
|
|
19
|
+
* the domain includes non-positive values (log is undefined there).
|
|
20
|
+
*/
|
|
21
|
+
private makeAxisNorm;
|
|
22
|
+
private getFeatureKey;
|
|
23
|
+
private getFeatureColor;
|
|
24
|
+
private attachMapHover;
|
|
25
|
+
private renderMapLabels;
|
|
26
|
+
private renderColorAxis;
|
|
27
|
+
private renderVerticalColorAxis;
|
|
28
|
+
private renderHorizontalColorAxis;
|
|
29
|
+
private setupMapNavigation;
|
|
30
|
+
/**
|
|
31
|
+
* Renders the map-navigation zoom buttons. Placement follows the standard
|
|
32
|
+
* `mapNavigation.buttonOptions` API: the +/− pair is stacked vertically and
|
|
33
|
+
* anchored top-left by default, honoring `align` ('left'|'right'),
|
|
34
|
+
* `verticalAlign` ('top'|'bottom') and the `x`/`y` pixel offsets. Button
|
|
35
|
+
* fill/border/symbol colors come from `buttonOptions.theme`/`symbolStroke`,
|
|
36
|
+
* and per-button label text from `mapNavigation.buttons.zoomIn|zoomOut.text`.
|
|
37
|
+
*/
|
|
38
|
+
private renderNavButtons;
|
|
39
|
+
private setupGlobeMode;
|
|
40
|
+
/**
|
|
41
|
+
* Starts auto-rotation of the globe. Avoids overlapping timers that would
|
|
42
|
+
* cause stuttering; advances rotation by elapsed time rather than per-frame
|
|
43
|
+
* step so rotation remains smooth even under load.
|
|
44
|
+
*/
|
|
45
|
+
private startAutoRotate;
|
|
46
|
+
private redrawGlobe;
|
|
47
|
+
getDataExtents(): {
|
|
48
|
+
xMin: number;
|
|
49
|
+
xMax: number;
|
|
50
|
+
yMin: number;
|
|
51
|
+
yMax: number;
|
|
52
|
+
};
|
|
53
|
+
}
|