Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@forter/chart

Package Overview
Dependencies
Maintainers
3
Versions
133
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@forter/chart - npm Package Compare versions

Comparing version 5.23.0 to 5.24.0

chart-config-builders/doughnut-builder.js

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

# [5.24.0](https://github.com/forter/web-components/compare/@forter/chart@5.23.0...@forter/chart@5.24.0) (2022-09-01)
### Features
* **chart:** add a new fc chart type of Doughnut ([#1073](https://github.com/forter/web-components/issues/1073)) ([e364cee](https://github.com/forter/web-components/commit/e364cee))
# [5.23.0](https://github.com/forter/web-components/compare/@forter/chart@5.22.0...@forter/chart@5.23.0) (2022-08-16)

@@ -8,0 +19,0 @@

3

enums.js
const CHART_TYPES = {
LINE: 'line',
BAR: 'bar',
TREEMAP: 'treemap'
TREEMAP: 'treemap',
DOUGHNUT: 'doughnut'
};

@@ -6,0 +7,0 @@ const X_AXIS_TYPE = {

@@ -16,2 +16,3 @@ import { defineProperty as _defineProperty } from './_virtual/_rollupPluginBabelHelpers.js';

import insertAnnotations from './chart-config-builders/annotation-builder.js';
import doughnutBuilder from './chart-config-builders/doughnut-builder.js';
import { registerSeriesClickEvent } from './chart-config-builders/register-series-click-event.js';

@@ -102,3 +103,7 @@ import colors from '@forter/styles/colors.css';

setTimeout(() => this.chart.update(0), 1000);
setTimeout(() => {
var _this$chart;
return (_this$chart = this.chart) === null || _this$chart === void 0 ? void 0 : _this$chart.update(0);
}, 1000);
}

@@ -151,3 +156,3 @@

getConfigBuilders() {
return [generateBasicChartJSConfig, insertYAxisTicks, insertTimeAxisTicks, updateColorsInDatasets, periodOverPeriodBuilder, generateTooltipConfig, registerSeriesClickEvent, insertXAxisTicks, htmlLegendBuilder, insertAnnotations];
return [generateBasicChartJSConfig, insertYAxisTicks, insertTimeAxisTicks, updateColorsInDatasets, periodOverPeriodBuilder, generateTooltipConfig, registerSeriesClickEvent, insertXAxisTicks, htmlLegendBuilder, insertAnnotations, doughnutBuilder];
}

@@ -154,0 +159,0 @@

{
"name": "@forter/chart",
"version": "5.23.0",
"version": "5.24.0",
"description": "chart from Forter Components",

@@ -60,3 +60,3 @@ "author": "Forter Developers",

},
"gitHead": "32823ce8126d8cf69cdd5fec2772c94d65bd2025"
"gitHead": "b16fdfed25fad3090d0a98e4730b92ba817b9f8a"
}
export const CHART_TYPES = {
LINE: 'line',
BAR: 'bar',
TREEMAP: 'treemap'
TREEMAP: 'treemap',
DOUGHNUT: 'doughnut'
};

@@ -6,0 +7,0 @@

@@ -14,2 +14,3 @@ import { LitElement, html } from 'lit-element';

import insertAnnotations from './chart-config-builders/annotation-builder';
import doughnutBuilder from './chart-config-builders/doughnut-builder';
import { registerSeriesClickEvent } from './chart-config-builders/register-series-click-event';

@@ -87,3 +88,3 @@ import colors from '@forter/styles/colors.css';

// Update label formatters after chart animations finish (animation duration: 1s)
setTimeout(() => this.chart.update(0), 1000);
setTimeout(() => this.chart?.update(0), 1000);
}

@@ -139,3 +140,4 @@

htmlLegendBuilder,
insertAnnotations
insertAnnotations,
doughnutBuilder
];

@@ -142,0 +144,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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