@oliasoft-open-source/charts-library 4.8.0-beta-7 → 4.8.0-beta-8

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/dist/index.js CHANGED
@@ -26036,7 +26036,7 @@ const useChartOptions = ({
26036
26036
  decimation: {
26037
26037
  enabled: true,
26038
26038
  algorithm: "lttb",
26039
- samples: 1e3
26039
+ samples: 200
26040
26040
  },
26041
26041
  chartAreaText: {
26042
26042
  showLabel,
@@ -27308,18 +27308,7 @@ const LineChart = (props) => {
27308
27308
  initialState
27309
27309
  );
27310
27310
  const generatedDatasets = useMemo(() => {
27311
- const startTimeStamp = performance.now();
27312
- const result = generateLineChartDatasets(
27313
- datasets,
27314
- state,
27315
- options,
27316
- translations
27317
- );
27318
- const endTimeStamp = performance.now();
27319
- console.log(
27320
- `generateLineChartDatasets execution time: ${(endTimeStamp - startTimeStamp).toFixed(5)} ms`
27321
- );
27322
- return result;
27311
+ return generateLineChartDatasets(datasets, state, options, translations);
27323
27312
  }, [state.lineEnabled, state.pointsEnabled, axes, annotations, graph]);
27324
27313
  useChartState({
27325
27314
  chartRef,