| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271 |
- // // Export modularized config and utility functions with type definitions
- // export {
- // config,
- // assign,
- // util
- // } from './lib/config';
- // export {
- // hexToRgb
- // } from './lib/utils/color';
- // export {
- // findRange,
- // calCandleMA
- // } from './lib/utils/math';
- // export {
- // convertCoordinateOrigin,
- // isInAngleRange,
- // calValidDistance
- // } from './lib/utils/coordinate';
- // export {
- // measureText
- // } from './lib/utils/text';
- // export {
- // avoidCollision,
- // isCollision
- // } from './lib/utils/collision';
- // export {
- // getH5Offset,
- // createCurveControlPoints,
- // getTouches
- // } from './lib/utils/misc';
- // // Export core chart classes
- // export {
- // uCharts,
- // uChartsEvent
- // } from './lib/charts/index';
- // // Default export for backward compatibility
- // export { default } from './lib/charts/index';
- // // Re-export config and util from u-charts for backward compatibility
- // export { config as uChartsConfig, util as uChartsUtil } from './lib/config';
- // // Export chart types
- // export type {
- // CanvasContext,
- // ChartsTitle,
- // ChartsConfig,
- // YAxisConfig,
- // XAxisConfig,
- // LegendConfig,
- // ExtraConfig,
- // ScrollOption,
- // TouchEvent,
- // TouchPoint,
- // ToolTipOption as ChartsToolTipOption,
- // EventListener,
- // EventMap
- // } from './lib/charts/index';
- // // Export data processing functions
- // export {
- // fixPieSeries,
- // fillSeries,
- // fillCustomColor,
- // getDataRange,
- // dataCombine,
- // dataCombineStack,
- // calXAxisData,
- // getXAxisPoints,
- // calYAxisData,
- // calCategoriesData,
- // getToolTipData,
- // getMixToolTipData
- // } from './lib/data-processing/index';
- // export type {
- // SeriesItem,
- // ChartOptions,
- // ChartExtraOptions,
- // BarOptions,
- // ColumnOptions,
- // TooltipOptions,
- // MountOptions,
- // XAxisOptions,
- // YAxisOptions,
- // YAxisDataItem,
- // ChartData,
- // UChartsConfig,
- // DataRange,
- // XAxisDataResult,
- // YAxisDataResult,
- // AxisPointsResult,
- // CategoriesDataResult,
- // ToolTipOption,
- // ToolTipDataResult
- // } from './lib/data-processing/index';
- // // Export charts data points calculation functions
- // export {
- // getDataPoints,
- // getLineDataPoints,
- // getColumnDataPoints,
- // getCandleDataPoints,
- // getMountDataPoints,
- // getBarDataPoints,
- // getStackDataPoints,
- // getBarStackDataPoints,
- // getPieDataPoints,
- // getRoseDataPoints,
- // getRadarDataPoints,
- // getGaugeDataPoints,
- // getGaugeArcbarDataPoints,
- // getArcbarDataPoints,
- // getGaugeAxisPoints,
- // getFunnelDataPoints
- // } from './lib/charts-data/index';
- // // Export renderer functions
- // export {
- // drawPointShape,
- // drawActivePoint,
- // drawRingTitle,
- // drawPointText,
- // drawToolTipSplitLine,
- // drawMarkLine,
- // drawToolTipHorizentalLine,
- // drawToolTipSplitArea,
- // drawBarToolTipSplitArea,
- // drawToolTip,
- // drawToolTipBridge,
- // drawCanvas
- // } from './lib/renderers/index';
- // export type {
- // Point as RendererPoint,
- // ToolTipTextItem,
- // ToolTipOption as RendererToolTipOption,
- // MarkLineDataItem,
- // ActivePointOption,
- // TitleOption
- // } from './lib/renderers/index';
- // // Export helper functions
- // export {
- // // Index finders
- // findCurrentIndex,
- // findBarChartCurrentIndex,
- // findLegendIndex,
- // findRadarChartCurrentIndex,
- // findFunnelChartCurrentIndex,
- // findWordChartCurrentIndex,
- // findMapChartCurrentIndex,
- // findRoseChartCurrentIndex,
- // findPieChartCurrentIndex,
- // // Area checkers
- // isInExactLegendArea,
- // isInExactChartArea,
- // isInExactPieChartArea,
- // // Data helpers
- // getSeriesDataItem,
- // filterSeries,
- // splitPoints,
- // getMaxTextListLength,
- // getRadarCoordinateSeries,
- // // Legend helpers
- // calLegendData,
- // getPieTextMaxLength,
- // // Coordinate helpers
- // lonlat2mercator,
- // mercator2lonlat,
- // getBoundingBox,
- // coordinateToPoint,
- // pointToCoordinate,
- // isRayIntersectsSegment,
- // isPoiWithinPoly,
- // // Data fixers
- // fixColumeData,
- // fixBarData,
- // fixColumeMeterData,
- // fixColumeStackData,
- // fixBarStackData,
- // // Misc helpers
- // getXAxisTextList,
- // getYAxisTextList,
- // calTooltipYAxisData,
- // calMarkLineData,
- // contextRotate,
- // normalInt,
- // collisionNew,
- // getWordCloudPoint
- // } from './lib/helper-functions/index';
- // export type {
- // LegendData,
- // PieData,
- // RadarData
- // } from './lib/helper-functions/index';
- // // Export draw controllers (core drawing control functions)
- // export {
- // drawCharts
- // } from './lib/draw-controllers/index';
- // export {
- // Animation,
- // AnimationFunction
- // } from './lib/draw-controllers/index';
- // export type {
- // DrawChartsContext,
- // DrawChartsFunction,
- // AnimationOptions,
- // TimingFunction,
- // TimingFunctions
- // } from './lib/draw-controllers/index';
- // ============================================================================
- // React Chart Components (Story 016.009)
- // ============================================================================
- // export {
- // // BaseChart component
- // BaseChart,
- // BaseChartDefault,
- // // BarChart component (横向柱状图)
- // BarChart,
- // BarChartDefault,
- // // ColumnChart component
- // ColumnChart,
- // ColumnChartDefault,
- // // LineChart component
- // LineChart,
- // LineChartDefault,
- // // CandleChart component
- // CandleChart,
- // CandleChartDefault,
- // // PieChart component
- // PieChart,
- // PieChartDefault,
- // // RadarChart component
- // RadarChart,
- // RadarChartDefault
- // } from './components/index';
- // export type {
- // // BaseChart types
- // BaseChartProps,
- // // BarChart types
- // BarChartProps,
- // BarType,
- // // ColumnChart types
- // ColumnChartProps,
- // ColumnType,
- // // LineChart types
- // LineChartProps,
- // DataPointShape,
- // // CandleChart types
- // CandleChartProps,
- // // PieChart types
- // PieChartProps,
- // PieChartType,
- // // RadarChart types
- // RadarChartProps
- // } from './components/index';
|