@mui/x-charts 8.14.1 → 8.16.0
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/BarChart/BarChart.js +8 -0
- package/BarChart/BarChart.plugins.d.ts +2 -1
- package/BarChart/BarChart.plugins.js +2 -1
- package/BarChart/seriesConfig/getSeriesWithDefaultValues.js +3 -3
- package/BarChart/seriesConfig/index.js +2 -0
- package/BarChart/seriesConfig/tooltipPosition.d.ts +3 -0
- package/BarChart/seriesConfig/tooltipPosition.js +67 -0
- package/BarChart/useBarChartProps.js +4 -2
- package/BarChart/useBarPlotData.d.ts +17 -2
- package/BarChart/useBarPlotData.js +59 -34
- package/CHANGELOG.md +207 -0
- package/ChartContainer/ChartContainer.js +8 -0
- package/ChartContainer/useChartContainerProps.js +4 -2
- package/ChartsAxisHighlight/ChartsXAxisHighlight.js +2 -1
- package/ChartsAxisHighlight/ChartsYAxisHighlight.js +2 -1
- package/ChartsBrushOverlay/ChartsBrushOverlay.classes.d.ts +12 -0
- package/ChartsBrushOverlay/ChartsBrushOverlay.classes.js +9 -0
- package/ChartsBrushOverlay/ChartsBrushOverlay.d.ts +6 -0
- package/ChartsBrushOverlay/ChartsBrushOverlay.js +102 -0
- package/ChartsBrushOverlay/index.d.ts +4 -0
- package/ChartsBrushOverlay/index.js +19 -0
- package/ChartsReferenceLine/ChartsReferenceLine.js +1 -1
- package/ChartsReferenceLine/ChartsXReferenceLine.js +13 -8
- package/ChartsReferenceLine/ChartsYReferenceLine.js +13 -8
- package/ChartsReferenceLine/common.d.ts +3 -1
- package/ChartsReferenceLine/common.js +3 -1
- package/ChartsTooltip/ChartsTooltip.js +9 -0
- package/ChartsTooltip/ChartsTooltipContainer.d.ts +9 -0
- package/ChartsTooltip/ChartsTooltipContainer.js +67 -23
- package/ChartsTooltip/useItemTooltip.js +7 -14
- package/ChartsWrapper/ChartsWrapper.js +2 -1
- package/ChartsXAxis/getVisibleLabels.js +45 -25
- package/ChartsXAxis/useAxisTicksProps.d.ts +81 -81
- package/ChartsYAxis/useAxisTicksProps.d.ts +81 -81
- package/LineChart/LineChart.js +8 -0
- package/LineChart/LineChart.plugins.d.ts +2 -1
- package/LineChart/LineChart.plugins.js +2 -1
- package/LineChart/seriesConfig/getSeriesWithDefaultValues.js +3 -3
- package/LineChart/seriesConfig/index.js +2 -0
- package/LineChart/seriesConfig/tooltipPosition.d.ts +3 -0
- package/LineChart/seriesConfig/tooltipPosition.js +33 -0
- package/LineChart/useLineChartProps.js +4 -2
- package/PieChart/seriesConfig/getSeriesWithDefaultValues.js +5 -6
- package/PieChart/seriesConfig/index.js +2 -0
- package/PieChart/seriesConfig/seriesProcessor.js +2 -1
- package/PieChart/seriesConfig/tooltipPosition.d.ts +3 -0
- package/PieChart/seriesConfig/tooltipPosition.js +75 -0
- package/RadarChart/RadarChart.plugins.d.ts +2 -2
- package/RadarChart/RadarChart.plugins.js +1 -1
- package/RadarChart/RadarSeriesPlot/useRadarSeriesData.d.ts +1 -1
- package/RadarChart/seriesConfig/getSeriesWithDefaultValues.js +3 -3
- package/ScatterChart/ScatterChart.js +8 -0
- package/ScatterChart/ScatterChart.plugins.d.ts +2 -1
- package/ScatterChart/ScatterChart.plugins.js +2 -1
- package/ScatterChart/seriesConfig/getSeriesWithDefaultValues.js +3 -3
- package/ScatterChart/seriesConfig/index.js +2 -0
- package/ScatterChart/seriesConfig/tooltipPosition.d.ts +3 -0
- package/ScatterChart/seriesConfig/tooltipPosition.js +33 -0
- package/ScatterChart/useScatterChartProps.js +5 -3
- package/SparkLineChart/SparkLineChart.js +8 -0
- package/context/ChartProvider/ChartProvider.js +1 -1
- package/esm/BarChart/BarChart.js +8 -0
- package/esm/BarChart/BarChart.plugins.d.ts +2 -1
- package/esm/BarChart/BarChart.plugins.js +2 -1
- package/esm/BarChart/seriesConfig/getSeriesWithDefaultValues.js +3 -3
- package/esm/BarChart/seriesConfig/index.js +2 -0
- package/esm/BarChart/seriesConfig/tooltipPosition.d.ts +3 -0
- package/esm/BarChart/seriesConfig/tooltipPosition.js +61 -0
- package/esm/BarChart/useBarChartProps.js +4 -2
- package/esm/BarChart/useBarPlotData.d.ts +17 -2
- package/esm/BarChart/useBarPlotData.js +58 -34
- package/esm/ChartContainer/ChartContainer.js +8 -0
- package/esm/ChartContainer/useChartContainerProps.js +4 -2
- package/esm/ChartsAxisHighlight/ChartsXAxisHighlight.js +1 -2
- package/esm/ChartsAxisHighlight/ChartsYAxisHighlight.js +1 -2
- package/esm/ChartsBrushOverlay/ChartsBrushOverlay.classes.d.ts +12 -0
- package/esm/ChartsBrushOverlay/ChartsBrushOverlay.classes.js +2 -0
- package/esm/ChartsBrushOverlay/ChartsBrushOverlay.d.ts +6 -0
- package/esm/ChartsBrushOverlay/ChartsBrushOverlay.js +95 -0
- package/esm/ChartsBrushOverlay/index.d.ts +4 -0
- package/esm/ChartsBrushOverlay/index.js +2 -0
- package/esm/ChartsReferenceLine/ChartsReferenceLine.js +1 -1
- package/esm/ChartsReferenceLine/ChartsXReferenceLine.js +14 -9
- package/esm/ChartsReferenceLine/ChartsYReferenceLine.js +14 -9
- package/esm/ChartsReferenceLine/common.d.ts +3 -1
- package/esm/ChartsReferenceLine/common.js +2 -0
- package/esm/ChartsTooltip/ChartsTooltip.js +9 -0
- package/esm/ChartsTooltip/ChartsTooltipContainer.d.ts +9 -0
- package/esm/ChartsTooltip/ChartsTooltipContainer.js +68 -24
- package/esm/ChartsTooltip/useItemTooltip.js +9 -16
- package/esm/ChartsWrapper/ChartsWrapper.js +2 -1
- package/esm/ChartsXAxis/getVisibleLabels.js +45 -25
- package/esm/ChartsXAxis/useAxisTicksProps.d.ts +81 -81
- package/esm/ChartsYAxis/useAxisTicksProps.d.ts +81 -81
- package/esm/LineChart/LineChart.js +8 -0
- package/esm/LineChart/LineChart.plugins.d.ts +2 -1
- package/esm/LineChart/LineChart.plugins.js +2 -1
- package/esm/LineChart/seriesConfig/getSeriesWithDefaultValues.js +3 -3
- package/esm/LineChart/seriesConfig/index.js +2 -0
- package/esm/LineChart/seriesConfig/tooltipPosition.d.ts +3 -0
- package/esm/LineChart/seriesConfig/tooltipPosition.js +27 -0
- package/esm/LineChart/useLineChartProps.js +4 -2
- package/esm/PieChart/seriesConfig/getSeriesWithDefaultValues.js +5 -6
- package/esm/PieChart/seriesConfig/index.js +2 -0
- package/esm/PieChart/seriesConfig/seriesProcessor.js +2 -1
- package/esm/PieChart/seriesConfig/tooltipPosition.d.ts +3 -0
- package/esm/PieChart/seriesConfig/tooltipPosition.js +69 -0
- package/esm/RadarChart/RadarChart.plugins.d.ts +2 -2
- package/esm/RadarChart/RadarChart.plugins.js +1 -1
- package/esm/RadarChart/RadarSeriesPlot/useRadarSeriesData.d.ts +1 -1
- package/esm/RadarChart/seriesConfig/getSeriesWithDefaultValues.js +3 -3
- package/esm/ScatterChart/ScatterChart.js +8 -0
- package/esm/ScatterChart/ScatterChart.plugins.d.ts +2 -1
- package/esm/ScatterChart/ScatterChart.plugins.js +2 -1
- package/esm/ScatterChart/seriesConfig/getSeriesWithDefaultValues.js +3 -3
- package/esm/ScatterChart/seriesConfig/index.js +2 -0
- package/esm/ScatterChart/seriesConfig/tooltipPosition.d.ts +3 -0
- package/esm/ScatterChart/seriesConfig/tooltipPosition.js +27 -0
- package/esm/ScatterChart/useScatterChartProps.js +5 -3
- package/esm/SparkLineChart/SparkLineChart.js +8 -0
- package/esm/context/ChartProvider/ChartProvider.js +1 -1
- package/esm/hooks/index.d.ts +2 -1
- package/esm/hooks/index.js +2 -1
- package/esm/hooks/useBrush.d.ts +18 -0
- package/esm/hooks/useBrush.js +16 -0
- package/esm/hooks/useFocusedItem.d.ts +1 -1
- package/esm/hooks/useInteractionItemProps.js +6 -2
- package/esm/index.d.ts +2 -1
- package/esm/index.js +2 -1
- package/esm/internals/configInit.d.ts +1 -1
- package/esm/internals/domUtils.d.ts +9 -4
- package/esm/internals/domUtils.js +115 -52
- package/esm/internals/getScale.js +1 -1
- package/esm/internals/index.d.ts +3 -1
- package/esm/internals/index.js +3 -1
- package/esm/internals/isCartesian.d.ts +3 -2
- package/esm/internals/isCartesian.js +3 -0
- package/esm/internals/plugins/allPlugins.d.ts +4 -3
- package/esm/internals/plugins/allPlugins.js +2 -1
- package/esm/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.js +19 -10
- package/esm/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.types.d.ts +6 -4
- package/esm/internals/plugins/featurePlugins/useChartBrush/index.d.ts +3 -0
- package/esm/internals/plugins/featurePlugins/useChartBrush/index.js +3 -0
- package/esm/internals/plugins/featurePlugins/useChartBrush/useChartBrush.d.ts +3 -0
- package/esm/internals/plugins/featurePlugins/useChartBrush/useChartBrush.js +126 -0
- package/esm/internals/plugins/featurePlugins/useChartBrush/useChartBrush.selectors.d.ts +82 -0
- package/esm/internals/plugins/featurePlugins/useChartBrush/useChartBrush.selectors.js +75 -0
- package/esm/internals/plugins/featurePlugins/useChartBrush/useChartBrush.types.d.ts +81 -0
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/createZoomLookup.js +3 -2
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.js +2 -2
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeZoom.d.ts +2 -1
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeZoom.js +8 -3
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisScale.js +1 -1
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.types.d.ts +3 -1
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianHighlight.selectors.d.ts +4 -4
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianHighlight.selectors.js +13 -6
- package/esm/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.js +2 -0
- package/esm/internals/plugins/featurePlugins/useChartInteraction/index.d.ts +1 -0
- package/esm/internals/plugins/featurePlugins/useChartInteraction/index.js +2 -1
- package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.js +2 -1
- package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.d.ts +1 -1
- package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.types.d.ts +5 -1
- package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartTooltip.selectors.d.ts +14 -0
- package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartTooltip.selectors.js +40 -0
- package/esm/internals/plugins/featurePlugins/useChartKeyboardNavigation/isFocusableSeriesType.d.ts +3 -0
- package/esm/internals/plugins/featurePlugins/useChartKeyboardNavigation/isFocusableSeriesType.js +4 -0
- package/esm/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.helpers.d.ts +5 -4
- package/esm/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.helpers.js +8 -4
- package/esm/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.d.ts +21 -3
- package/esm/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.js +13 -6
- package/esm/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.types.d.ts +4 -3
- package/esm/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.js +1 -1
- package/esm/internals/plugins/models/seriesConfig/index.d.ts +1 -0
- package/esm/internals/plugins/models/seriesConfig/index.js +1 -0
- package/esm/internals/plugins/models/seriesConfig/seriesConfig.types.d.ts +2 -0
- package/esm/internals/plugins/models/seriesConfig/tooltipItemPositionGetter.types.d.ts +24 -0
- package/esm/internals/plugins/utils/selectors.d.ts +1 -1
- package/esm/internals/scales/index.d.ts +3 -0
- package/esm/internals/scales/index.js +3 -0
- package/esm/internals/scales/scaleBand.d.ts +25 -0
- package/esm/internals/scales/scaleBand.js +159 -0
- package/esm/internals/scales/scalePoint.d.ts +25 -0
- package/esm/internals/scales/scalePoint.js +41 -0
- package/esm/internals/scales/scaleSymlog.d.ts +38 -0
- package/esm/internals/{symlogScale.js → scales/scaleSymlog.js} +40 -2
- package/esm/locales/elGR.js +97 -99
- package/esm/models/seriesType/common.d.ts +3 -2
- package/esm/tests/constants.js +1 -0
- package/hooks/index.d.ts +2 -1
- package/hooks/index.js +12 -0
- package/hooks/useBrush.d.ts +18 -0
- package/hooks/useBrush.js +21 -0
- package/hooks/useFocusedItem.d.ts +1 -1
- package/hooks/useInteractionItemProps.js +6 -2
- package/index.d.ts +2 -1
- package/index.js +13 -1
- package/internals/configInit.d.ts +1 -1
- package/internals/domUtils.d.ts +9 -4
- package/internals/domUtils.js +119 -54
- package/internals/getScale.js +2 -2
- package/internals/index.d.ts +3 -1
- package/internals/index.js +24 -0
- package/internals/isCartesian.d.ts +3 -2
- package/internals/isCartesian.js +4 -0
- package/internals/plugins/allPlugins.d.ts +4 -3
- package/internals/plugins/allPlugins.js +2 -1
- package/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.js +19 -10
- package/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.types.d.ts +6 -4
- package/internals/plugins/featurePlugins/useChartBrush/index.d.ts +3 -0
- package/internals/plugins/featurePlugins/useChartBrush/index.js +38 -0
- package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.d.ts +3 -0
- package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.js +134 -0
- package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.selectors.d.ts +82 -0
- package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.selectors.js +82 -0
- package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.types.d.ts +81 -0
- package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.types.js +5 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/createZoomLookup.js +3 -2
- package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.js +2 -2
- package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeZoom.d.ts +2 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeZoom.js +8 -3
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisScale.js +3 -3
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.types.d.ts +3 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianHighlight.selectors.d.ts +4 -4
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianHighlight.selectors.js +13 -6
- package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.js +2 -0
- package/internals/plugins/featurePlugins/useChartInteraction/index.d.ts +1 -0
- package/internals/plugins/featurePlugins/useChartInteraction/index.js +12 -0
- package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.js +2 -1
- package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.types.d.ts +5 -1
- package/internals/plugins/featurePlugins/useChartInteraction/useChartTooltip.selectors.d.ts +14 -0
- package/internals/plugins/featurePlugins/useChartInteraction/useChartTooltip.selectors.js +46 -0
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/isFocusableSeriesType.d.ts +3 -0
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/isFocusableSeriesType.js +10 -0
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.helpers.d.ts +5 -4
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.helpers.js +7 -4
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.d.ts +21 -3
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.js +14 -7
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.types.d.ts +4 -3
- package/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.js +3 -3
- package/internals/plugins/models/seriesConfig/index.d.ts +1 -0
- package/internals/plugins/models/seriesConfig/index.js +11 -0
- package/internals/plugins/models/seriesConfig/seriesConfig.types.d.ts +2 -0
- package/internals/plugins/models/seriesConfig/tooltipItemPositionGetter.types.d.ts +24 -0
- package/internals/plugins/models/seriesConfig/tooltipItemPositionGetter.types.js +5 -0
- package/internals/plugins/utils/selectors.d.ts +1 -1
- package/internals/scales/index.d.ts +3 -0
- package/internals/scales/index.js +38 -0
- package/internals/scales/scaleBand.d.ts +25 -0
- package/internals/scales/scaleBand.js +167 -0
- package/internals/scales/scalePoint.d.ts +25 -0
- package/internals/scales/scalePoint.js +46 -0
- package/internals/scales/scaleSymlog.d.ts +38 -0
- package/internals/{symlogScale.js → scales/scaleSymlog.js} +39 -2
- package/locales/elGR.js +97 -99
- package/models/seriesType/common.d.ts +3 -2
- package/package.json +4 -4
- package/tests/constants.js +7 -0
- package/esm/internals/Flatbush.bench.js +0 -42
- package/esm/internals/symlogScale.d.ts +0 -2
- package/internals/Flatbush.bench.js +0 -44
- package/internals/symlogScale.d.ts +0 -2
- /package/esm/internals/{Flatbush.bench.d.ts → plugins/featurePlugins/useChartBrush/useChartBrush.types.js} +0 -0
- /package/{internals/Flatbush.bench.d.ts → esm/internals/plugins/models/seriesConfig/tooltipItemPositionGetter.types.js} +0 -0
package/locales/elGR.js
CHANGED
|
@@ -16,106 +16,104 @@ const elGRLocaleText = exports.elGRLocaleText = {
|
|
|
16
16
|
toolbarExport: 'Εξαγωγή',
|
|
17
17
|
// Toolbar Export Menu
|
|
18
18
|
toolbarExportPrint: 'Εκτύπωση',
|
|
19
|
-
toolbarExportImage: mimeType => `Εξαγωγή ως ${_imageMimeTypes.imageMimeTypes[mimeType] ?? mimeType}
|
|
20
|
-
|
|
19
|
+
toolbarExportImage: mimeType => `Εξαγωγή ως ${_imageMimeTypes.imageMimeTypes[mimeType] ?? mimeType}`,
|
|
21
20
|
// Charts renderer configuration
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
21
|
+
chartTypeBar: 'Μπάρα',
|
|
22
|
+
chartTypeColumn: 'Στήλη',
|
|
23
|
+
chartTypeLine: 'Γραμμή',
|
|
24
|
+
chartTypeArea: 'Περιοχή',
|
|
25
|
+
chartTypePie: 'Πίτα',
|
|
26
|
+
chartPaletteLabel: 'Παλέτα χρωμάτων',
|
|
27
|
+
chartPaletteNameRainbowSurge: 'Έκρηξη Ουράνιου Τόξου',
|
|
28
|
+
chartPaletteNameBlueberryTwilight: 'Λυκόφως Μύρτιλου',
|
|
29
|
+
chartPaletteNameMangoFusion: 'Ένωση Μάνγκο',
|
|
30
|
+
chartPaletteNameCheerfulFiesta: 'Χαρούμενη Γιορτή',
|
|
31
|
+
chartPaletteNameStrawberrySky: 'Φραουλένιος Ουρανός',
|
|
32
|
+
chartPaletteNameBlue: 'Μπλέ',
|
|
33
|
+
chartPaletteNameGreen: 'Πράσινο',
|
|
34
|
+
chartPaletteNamePurple: 'Μώβ',
|
|
35
|
+
chartPaletteNameRed: 'Κόκκινο',
|
|
36
|
+
chartPaletteNameOrange: 'Πορτοκαλί',
|
|
37
|
+
chartPaletteNameYellow: 'Κίτρινο',
|
|
38
|
+
chartPaletteNameCyan: 'Κυανό',
|
|
39
|
+
chartPaletteNamePink: 'Ρόζ',
|
|
40
|
+
chartConfigurationSectionChart: 'Γράφημα',
|
|
41
|
+
chartConfigurationSectionColumns: 'Στήλες',
|
|
42
|
+
chartConfigurationSectionBars: 'Μπάρες',
|
|
43
|
+
chartConfigurationSectionAxes: 'Άξονες',
|
|
44
|
+
chartConfigurationGrid: 'Πλέγμα',
|
|
45
|
+
chartConfigurationBorderRadius: 'Ακτίνα περιγράμματος',
|
|
46
|
+
chartConfigurationCategoryGapRatio: 'Λόγος κενών κατηγορίας',
|
|
47
|
+
chartConfigurationBarGapRatio: 'Λόγος κενών Σειράς',
|
|
48
|
+
chartConfigurationStacked: 'Στοίβαγμα',
|
|
49
|
+
chartConfigurationShowToolbar: 'Εμφάνιση γραμμής εργαλείων',
|
|
50
|
+
chartConfigurationSkipAnimation: 'Παράξειψη Animation',
|
|
51
|
+
chartConfigurationInnerRadius: 'Εσωτερική ακτίνα',
|
|
52
|
+
chartConfigurationOuterRadius: 'Εξωτερική ακτίνα',
|
|
53
|
+
chartConfigurationColors: 'Χρώματα',
|
|
54
|
+
chartConfigurationHideLegend: 'Απόκρυψη Υπομνήματος',
|
|
55
|
+
chartConfigurationShowMark: 'Εμφάνιση Σημείωσης',
|
|
56
|
+
chartConfigurationHeight: 'Ύψος',
|
|
57
|
+
chartConfigurationWidth: 'Πλάτος',
|
|
58
|
+
chartConfigurationSeriesGap: 'Κενό Σειράς',
|
|
59
|
+
chartConfigurationTickPlacement: 'Τοποθέτηση Σημείων',
|
|
60
|
+
chartConfigurationTickLabelPlacement: 'Τοποθέτηση Ετικετών Σημείων',
|
|
61
|
+
chartConfigurationCategoriesAxisLabel: 'Ετικέτα άξονα κατηγοριών',
|
|
62
|
+
chartConfigurationSeriesAxisLabel: 'Ετικέτα άξονα σειρών',
|
|
63
|
+
chartConfigurationXAxisPosition: 'Θέση άξονα Χ',
|
|
64
|
+
chartConfigurationYAxisPosition: 'Θέση άξονα Υ',
|
|
65
|
+
chartConfigurationSeriesAxisReverse: 'Αντιστροφή άξονα σειρών',
|
|
66
|
+
chartConfigurationTooltipPlacement: 'Τοποθέτηση',
|
|
67
|
+
chartConfigurationTooltipTrigger: 'Τρόπος ενεργοποίησης του tooltip',
|
|
68
|
+
chartConfigurationLegendPosition: 'Θέση',
|
|
69
|
+
chartConfigurationLegendDirection: 'Κατεύθυνση',
|
|
70
|
+
chartConfigurationBarLabels: 'Ετικέτες μπαρών',
|
|
71
|
+
chartConfigurationColumnLabels: 'Ετικέτες στηλών',
|
|
72
|
+
chartConfigurationInterpolation: 'Διαμεσολάβηση',
|
|
73
|
+
chartConfigurationSectionTooltip: 'Tooltip',
|
|
74
|
+
chartConfigurationSectionLegend: 'Υπόμνημα',
|
|
75
|
+
chartConfigurationSectionLines: 'Γραμμές',
|
|
76
|
+
chartConfigurationSectionAreas: 'Περιοχές',
|
|
77
|
+
chartConfigurationSectionArcs: 'Τόξα',
|
|
78
|
+
chartConfigurationPaddingAngle: 'Γωνία περιθωρίου',
|
|
79
|
+
chartConfigurationCornerRadius: 'Ακτίνα γωνίας',
|
|
80
|
+
chartConfigurationArcLabels: 'Ετικέτες τόξων',
|
|
81
|
+
chartConfigurationStartAngle: 'Γωνία εκκίνησης',
|
|
82
|
+
chartConfigurationEndAngle: 'Γωνία λήξης',
|
|
83
|
+
chartConfigurationPieTooltipTrigger: 'Τρόπος ενεργοποίησης του tooltip',
|
|
84
|
+
chartConfigurationPieLegendPosition: 'Θέση',
|
|
85
|
+
chartConfigurationPieLegendDirection: 'Κατεύθυνση',
|
|
88
86
|
// Common option labels
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
87
|
+
chartConfigurationOptionNone: 'Κανένα',
|
|
88
|
+
chartConfigurationOptionValue: 'Τιμή',
|
|
89
|
+
chartConfigurationOptionAuto: 'Αυτόματο',
|
|
90
|
+
chartConfigurationOptionTop: 'Πάνω',
|
|
91
|
+
chartConfigurationOptionTopLeft: 'Πάνω Αριστερά',
|
|
92
|
+
chartConfigurationOptionTopRight: 'Πάνω Δεξιά',
|
|
93
|
+
chartConfigurationOptionBottom: 'Κάτω',
|
|
94
|
+
chartConfigurationOptionBottomLeft: 'Κάτω Αριστερά',
|
|
95
|
+
chartConfigurationOptionBottomRight: 'Κάτω Δεξιά',
|
|
96
|
+
chartConfigurationOptionLeft: 'Αριστερά',
|
|
97
|
+
chartConfigurationOptionRight: 'Δεξιά',
|
|
98
|
+
chartConfigurationOptionAxis: 'Άξονας',
|
|
99
|
+
chartConfigurationOptionItem: 'Στοιχείο',
|
|
100
|
+
chartConfigurationOptionHorizontal: 'Οριζόντιο',
|
|
101
|
+
chartConfigurationOptionVertical: 'Κάθετο',
|
|
102
|
+
chartConfigurationOptionBoth: 'Και τα δύο',
|
|
103
|
+
chartConfigurationOptionStart: 'Αρχή',
|
|
104
|
+
chartConfigurationOptionMiddle: 'Κέντρο',
|
|
105
|
+
chartConfigurationOptionEnd: 'Τέλος',
|
|
106
|
+
chartConfigurationOptionExtremities: 'Ακρότατα',
|
|
107
|
+
chartConfigurationOptionTick: 'Σημείο',
|
|
108
|
+
chartConfigurationOptionMonotoneX: 'Μονοτονικό Χ',
|
|
109
|
+
chartConfigurationOptionMonotoneY: 'Μονοτονικό Υ',
|
|
110
|
+
chartConfigurationOptionCatmullRom: 'Catmull-Rom',
|
|
111
|
+
chartConfigurationOptionLinear: 'Γραμμικό',
|
|
112
|
+
chartConfigurationOptionNatural: 'Φυσικό',
|
|
113
|
+
chartConfigurationOptionStep: 'Βήμα',
|
|
114
|
+
chartConfigurationOptionStepBefore: 'Βήμα Πριν',
|
|
115
|
+
chartConfigurationOptionStepAfter: 'Βήμα Μετά',
|
|
116
|
+
chartConfigurationOptionBumpX: 'Κυρτότητα Χ',
|
|
117
|
+
chartConfigurationOptionBumpY: 'Κυρτότητα Υ'
|
|
120
118
|
};
|
|
121
119
|
const elGR = exports.elGR = (0, _getChartsLocalization.getChartsLocalization)(elGRLocaleText);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { HighlightScope } from "../../internals/plugins/featurePlugins/useChartHighlight/highlightConfig.types.js";
|
|
2
2
|
import type { StackOffsetType, StackOrderType } from "../stacking.js";
|
|
3
3
|
import type { ChartsLabelMarkType } from "../../ChartsLabel/ChartsLabelMark.js";
|
|
4
|
+
import { AxisId } from "../axis.js";
|
|
4
5
|
export type SeriesId = number | string;
|
|
5
6
|
export type SeriesValueFormatterContext = {
|
|
6
7
|
/**
|
|
@@ -41,11 +42,11 @@ export type CartesianSeriesType = {
|
|
|
41
42
|
/**
|
|
42
43
|
* The id of the x-axis used to render the series.
|
|
43
44
|
*/
|
|
44
|
-
xAxisId?:
|
|
45
|
+
xAxisId?: AxisId;
|
|
45
46
|
/**
|
|
46
47
|
* The id of the y-axis used to render the series.
|
|
47
48
|
*/
|
|
48
|
-
yAxisId?:
|
|
49
|
+
yAxisId?: AxisId;
|
|
49
50
|
};
|
|
50
51
|
export type StackableSeriesType = {
|
|
51
52
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-charts",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.16.0",
|
|
4
4
|
"author": "MUI Team",
|
|
5
5
|
"description": "The community edition of MUI X Charts components.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
"prop-types": "^15.8.1",
|
|
36
36
|
"reselect": "^5.1.1",
|
|
37
37
|
"use-sync-external-store": "^1.6.0",
|
|
38
|
-
"@mui/x-
|
|
39
|
-
"@mui/x-internals": "8.
|
|
40
|
-
"@mui/x-
|
|
38
|
+
"@mui/x-internal-gestures": "0.3.4",
|
|
39
|
+
"@mui/x-internals": "8.16.0",
|
|
40
|
+
"@mui/x-charts-vendor": "8.15.0"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"@emotion/react": "^11.9.0",
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { describe, bench } from 'vitest';
|
|
2
|
-
import { Flatbush } from "./Flatbush.js";
|
|
3
|
-
const data = [],
|
|
4
|
-
n = 1_000_000;
|
|
5
|
-
|
|
6
|
-
// Generate and position the datapoints in a tangent wave pattern
|
|
7
|
-
for (let i = 0; i < n; i += 1) {
|
|
8
|
-
const theta = Math.random() * 2 * Math.PI;
|
|
9
|
-
const radius = Math.pow(Math.random(), 2) * 100;
|
|
10
|
-
const waveDeviation = (Math.random() - 0.5) * 70;
|
|
11
|
-
const waveValue = Math.tan(theta) * waveDeviation;
|
|
12
|
-
data.push({
|
|
13
|
-
x: 50 + (radius + waveValue) * Math.cos(theta),
|
|
14
|
-
y: 50 + (radius + waveValue) * Math.sin(theta)
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
const flatbush1M = new Flatbush(data.length);
|
|
18
|
-
for (let i = 0; i < data.length; i += 1) {
|
|
19
|
-
flatbush1M.add(data[i].x, data[i].y);
|
|
20
|
-
}
|
|
21
|
-
flatbush1M.finish();
|
|
22
|
-
describe('Flatbush benchmarks', () => {
|
|
23
|
-
describe('add + finish', () => {
|
|
24
|
-
bench('add 1M points + finish', () => {
|
|
25
|
-
const flatbush = new Flatbush(data.length);
|
|
26
|
-
for (let i = 0; i < data.length; i += 1) {
|
|
27
|
-
flatbush.add(data[i].x, data[i].y);
|
|
28
|
-
}
|
|
29
|
-
flatbush.finish();
|
|
30
|
-
});
|
|
31
|
-
});
|
|
32
|
-
describe('search 1M points', () => {
|
|
33
|
-
bench('search 1M points', () => {
|
|
34
|
-
flatbush1M.search(0.4, 0.4, 0.6, 0.6);
|
|
35
|
-
});
|
|
36
|
-
});
|
|
37
|
-
describe('neighbors 1M points', () => {
|
|
38
|
-
bench('neighbors 1M points', () => {
|
|
39
|
-
flatbush1M.neighbors(0.5, 0.5, 1, 0.04, undefined);
|
|
40
|
-
});
|
|
41
|
-
});
|
|
42
|
-
});
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _vitest = require("vitest");
|
|
4
|
-
var _Flatbush = require("./Flatbush");
|
|
5
|
-
const data = [],
|
|
6
|
-
n = 1_000_000;
|
|
7
|
-
|
|
8
|
-
// Generate and position the datapoints in a tangent wave pattern
|
|
9
|
-
for (let i = 0; i < n; i += 1) {
|
|
10
|
-
const theta = Math.random() * 2 * Math.PI;
|
|
11
|
-
const radius = Math.pow(Math.random(), 2) * 100;
|
|
12
|
-
const waveDeviation = (Math.random() - 0.5) * 70;
|
|
13
|
-
const waveValue = Math.tan(theta) * waveDeviation;
|
|
14
|
-
data.push({
|
|
15
|
-
x: 50 + (radius + waveValue) * Math.cos(theta),
|
|
16
|
-
y: 50 + (radius + waveValue) * Math.sin(theta)
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
const flatbush1M = new _Flatbush.Flatbush(data.length);
|
|
20
|
-
for (let i = 0; i < data.length; i += 1) {
|
|
21
|
-
flatbush1M.add(data[i].x, data[i].y);
|
|
22
|
-
}
|
|
23
|
-
flatbush1M.finish();
|
|
24
|
-
(0, _vitest.describe)('Flatbush benchmarks', () => {
|
|
25
|
-
(0, _vitest.describe)('add + finish', () => {
|
|
26
|
-
(0, _vitest.bench)('add 1M points + finish', () => {
|
|
27
|
-
const flatbush = new _Flatbush.Flatbush(data.length);
|
|
28
|
-
for (let i = 0; i < data.length; i += 1) {
|
|
29
|
-
flatbush.add(data[i].x, data[i].y);
|
|
30
|
-
}
|
|
31
|
-
flatbush.finish();
|
|
32
|
-
});
|
|
33
|
-
});
|
|
34
|
-
(0, _vitest.describe)('search 1M points', () => {
|
|
35
|
-
(0, _vitest.bench)('search 1M points', () => {
|
|
36
|
-
flatbush1M.search(0.4, 0.4, 0.6, 0.6);
|
|
37
|
-
});
|
|
38
|
-
});
|
|
39
|
-
(0, _vitest.describe)('neighbors 1M points', () => {
|
|
40
|
-
(0, _vitest.bench)('neighbors 1M points', () => {
|
|
41
|
-
flatbush1M.neighbors(0.5, 0.5, 1, 0.04, undefined);
|
|
42
|
-
});
|
|
43
|
-
});
|
|
44
|
-
});
|
|
File without changes
|