New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@arcgis/charts-js-common

Package Overview
Dependencies
Maintainers
0
Versions
131
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arcgis/charts-js-common - npm Package Compare versions

Comparing version 4.32.0-next.85 to 4.32.0-next.87

4

dist/types/data/utils/categorical-data/index.d.ts

@@ -9,3 +9,3 @@ import type { WebChartDataItem, WebChart } from "@arcgis/charts-spec";

/**
* Completes a chart data by adding the missing series in every data item with a 0 value.
* Completes a chart data by adding 0s for any category with no value.
* Example:

@@ -26,2 +26,2 @@ * 3 series are defined (webChartSeries):

*/
export declare function completeDataWithEmptySeries(seriesData: WebChartDataItem[], chartConfig: WebChart): WebChartDataItem[];
export declare function completeDataForEmptyCategoriesWithZeros(seriesData: WebChartDataItem[], chartConfig: WebChart): WebChartDataItem[];

@@ -316,2 +316,6 @@ import type { WebChartCursorCrosshair, WebChartPieChartGroupSlice, WebChartDataItem, ISimpleFillSymbol, Color } from "@arcgis/charts-spec";

hideEmptySeries: boolean;
/**
* represents default value to use for when `replaceNoValueCategoryWithZero` is not defined in the `options` object.
*/
replaceNoValueCategoryWithZero: boolean;
};

@@ -318,0 +322,0 @@ }

@@ -252,2 +252,11 @@ import type { WebChart, WebChartDataItem, WebMapWebChart, WebGaugeChart, WebChartDataTypes, WebChartDataFilters, WebMapWebGaugeChart, WebChartPieChartSlice, WebChartQuery, WebBoxPlot, WebMapWebBoxPlot, WebChartDataItemValue, IField, SupportedLayer } from "@arcgis/charts-spec";

/**
* Whether to replace the missing categories from a count aggregation with 0s in the chart's data.
*
* When data is retrieved from the server, the server excludes all features having a count of 0 from the response; hence resulting in missing entries on the charts.
* When this property is set to true, a process is applied to complete the dataset with 0s for the empty or missing categories, to display them on the chart without gaps.
*
* @default true
*/
replaceNoValueCategoryWithZero?: boolean;
/**
* Used to customize the chart's limits, especially the maximum number of elements (bars, markers...) to be displayed.

@@ -254,0 +263,0 @@ * The chart's behavior once that limit is reached can be adjusted through the `behaviorAfterLimit` nested property, to either reject the creation

{
"name": "@arcgis/charts-js-common",
"version": "4.32.0-next.85",
"version": "4.32.0-next.87",
"description": "TypeScript library containing the common modules to `arcgis-charts-js` and `arcgis-chart-js-next`",

@@ -13,4 +13,4 @@ "main": "dist/commonjs/index.js",

"dependencies": {
"@arcgis/charts-shared-utils": "4.32.0-next.85",
"@arcgis/charts-spec": "4.32.0-next.85",
"@arcgis/charts-shared-utils": "4.32.0-next.87",
"@arcgis/charts-spec": "4.32.0-next.87",
"chance": "^1.1.11",

@@ -17,0 +17,0 @@ "d3-array": "^3.1.1",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc