Skip to content

Commit cac32c1

Browse files
committed
depreciat YearSerie
1 parent 2a82dee commit cac32c1

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

src/components/Charts/YearSerie.tsx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11

2-
/**
3-
* Graphique standard pour afficher des données annuelles
4-
*/
52

63
import { from, op } from "arquero"
74
import { useDataset, datasetInput } from "../Dataset/hooks"
@@ -36,6 +33,12 @@ export interface IYearSerieProps {
3633
/* Options Echarts addtionnelles */
3734
options?:Partial<EChartsOption>
3835
}
36+
37+
38+
/**
39+
* Graphique standard pour afficher des données annuelles
40+
* @deprecated Utiliser `ChartEvolution` à la place.
41+
*/
3942
export const ChartYearSerie:React.FC<IYearSerieProps> = ({dataset:dataset_id, categoryKey, valueKey, secondaryValueKey, yearKey, yearMark, stack:stack_input, title, type:chart_type='bar', normalize=false, seriesSort, options:custom_options={}}) => {
4043
const stack = stack_input || chart_type == 'line' ? false : true ; // Pas de stack par défaut pour le type line
4144
const dataset = useDataset(dataset_id)

0 commit comments

Comments
 (0)