@toast-ui/chart
Advanced tools
Comparing version 4.0.0-alpha.3 to 4.0.0-alpha.4
import Chart, { AddSeriesDataInfo } from "./chart"; | ||
import { BoxPlotSeriesType, BoxPlotSeriesData, BoxPlotChartOptions } from "../../types/options"; | ||
interface BoxPlotChartProps { | ||
export interface BoxPlotChartProps { | ||
el: Element; | ||
@@ -18,2 +18,1 @@ options: BoxPlotChartOptions; | ||
} | ||
export {}; |
@@ -16,2 +16,3 @@ import LineChart, { LineChartProps } from "./charts/lineChart"; | ||
import TreemapChart, { TreemapChartProps } from "./charts/treemapChart"; | ||
import BoxPlotChart, { BoxPlotChartProps } from "./charts/boxPlotChart"; | ||
export default class Chart { | ||
@@ -21,2 +22,3 @@ static lineChart: (props: LineChartProps) => LineChart; | ||
static barChart: (props: BarChartProps) => BarChart; | ||
static boxPlotChart: (props: BoxPlotChartProps) => BoxPlotChart; | ||
static columnChart: (props: ColumnChartProps) => ColumnChart; | ||
@@ -35,2 +37,2 @@ static pieChart: (props: PieChartProps) => PieChart; | ||
} | ||
export { LineChart, AreaChart, BarChart, ColumnChart, PieChart, HeatmapChart, BubbleChart, ScatterChart, BulletChart, RadarChart, TreemapChart, NestedPieChart, LineAreaChart, LineScatterChart, ColumnLineChart, }; | ||
export { LineChart, AreaChart, BarChart, ColumnChart, PieChart, HeatmapChart, BubbleChart, ScatterChart, BulletChart, RadarChart, TreemapChart, NestedPieChart, LineAreaChart, LineScatterChart, ColumnLineChart, BoxPlotChart, }; |
@@ -16,2 +16,3 @@ import LineChart from "./charts/lineChart"; | ||
import TreemapChart from "./charts/treemapChart"; | ||
import BoxPlotChart from "./charts/boxPlotChart"; | ||
export default class Chart { | ||
@@ -28,2 +29,5 @@ } | ||
}; | ||
Chart.boxPlotChart = (props) => { | ||
return new BoxPlotChart(props); | ||
}; | ||
Chart.columnChart = (props) => { | ||
@@ -65,2 +69,2 @@ return new ColumnChart(props); | ||
}; | ||
export { LineChart, AreaChart, BarChart, ColumnChart, PieChart, HeatmapChart, BubbleChart, ScatterChart, BulletChart, RadarChart, TreemapChart, NestedPieChart, LineAreaChart, LineScatterChart, ColumnLineChart, }; | ||
export { LineChart, AreaChart, BarChart, ColumnChart, PieChart, HeatmapChart, BubbleChart, ScatterChart, BulletChart, RadarChart, TreemapChart, NestedPieChart, LineAreaChart, LineScatterChart, ColumnLineChart, BoxPlotChart, }; |
/*! | ||
* TOAST UI Chart 4th Edition | ||
* @version 4.0.0-alpha.3 | Tue Dec 08 2020 | ||
* @version 4.0.0-alpha.4 | Tue Dec 08 2020 | ||
* @author NHN. FE Development Lab <dl_javascript@nhn.com> | ||
@@ -5,0 +5,0 @@ * @license MIT |
{ | ||
"name": "@toast-ui/chart", | ||
"version": "4.0.0-alpha.3", | ||
"version": "4.0.0-alpha.4", | ||
"description": "TOAST UI Application: Chart", | ||
@@ -5,0 +5,0 @@ "main": "dist/toastui-chart.js", |
@@ -28,2 +28,5 @@ import { | ||
ColumnLineChartOptions, | ||
BoxPlotSeriesType, | ||
BoxPlotSeriesData, | ||
BoxPlotChartOptions, | ||
} from '@t/options'; | ||
@@ -48,2 +51,4 @@ import { LineChartProps } from '@src/charts/lineChart'; | ||
import { CustomEventType, EventListener } from '@src/eventEmitter'; | ||
import { BoxPlotChartProps } from '@src/charts/boxPlotChart'; | ||
import { AddSeriesDataInfo } from '@src/charts/chart'; | ||
@@ -58,2 +63,4 @@ declare namespace tui { | ||
public static boxPlotChart(props: BoxPlotChartProps): BoxPlotChart; | ||
public static columnChart(props: ColumnChartProps): ColumnChart; | ||
@@ -157,2 +164,16 @@ | ||
export class BoxPlotChart extends BaseChart { | ||
constructor(props: BoxPlotChartProps); | ||
public addData(data: number[][], category: string): void; | ||
public addSeries(data: BoxPlotSeriesType, dataInfo?: AddSeriesDataInfo): void; | ||
public setData(data: BoxPlotSeriesData): void; | ||
public setOptions(options: BoxPlotChartOptions): void; | ||
public updateOptions(options: BoxPlotChartOptions): void; | ||
} | ||
export class ColumnChart extends BaseChart { | ||
@@ -159,0 +180,0 @@ constructor(props: ColumnChartProps); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1217869
20705