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

@forter/chart-value

Package Overview
Dependencies
Maintainers
3
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@forter/chart-value - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

8

CHANGELOG.md

@@ -6,4 +6,12 @@ # Change Log

## [1.0.2](https://github.com/forter/web-components/compare/@forter/chart-value@1.0.1...@forter/chart-value@1.0.2) (2023-03-20)
**Note:** Version bump only for package @forter/chart-value
## 1.0.1 (2023-03-13)
**Note:** Version bump only for package @forter/chart-value

2

fc-chart-value.css.js

@@ -53,3 +53,3 @@ import { css } from 'lit-element';

.negative-color {
color: var(--fc-red-300);
color: var(--fc-red-400);
}

@@ -56,0 +56,0 @@

@@ -98,4 +98,4 @@ const COLOR = {

const generateChartOptions = chartData => {
const suggestedMin = chartData ? Math.min(...chartData.map(item => Math.min(...item.data))) * 0.995 : 0;
const suggestedMax = chartData ? Math.max(...chartData.map(item => Math.max(...item.data))) * 1.005 : 1;
const suggestedMin = chartData ? Math.min(...chartData.map(item => Math.min(...item.data))) : 0;
const suggestedMax = chartData ? Math.max(...chartData.map(item => Math.max(...item.data))) : 1;
return {

@@ -109,4 +109,4 @@ plugins: {

y: {
suggestedMin: suggestedMin,
suggestedMax: suggestedMax,
min: suggestedMin,
max: suggestedMax,
display: false

@@ -113,0 +113,0 @@ },

{
"name": "@forter/chart-value",
"version": "1.0.1",
"version": "1.0.2",
"description": "chart-value from Forter Components",

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

},
"gitHead": "c4320e80baabbd636a150ca16d20b93eefb122a0"
"gitHead": "2609947ed9e30d9feafba7ae62595543b2dc3ce4"
}

@@ -89,5 +89,5 @@ const COLOR = {

const suggestedMin = chartData ?
Math.min(...chartData.map(item => Math.min(...item.data))) * 0.995 : 0;
Math.min(...chartData.map(item => Math.min(...item.data))) : 0;
const suggestedMax = chartData ?
Math.max(...chartData.map(item => Math.max(...item.data))) * 1.005 : 1;
Math.max(...chartData.map(item => Math.max(...item.data))) : 1;

@@ -102,4 +102,4 @@ return {

y: {
suggestedMin: suggestedMin,
suggestedMax: suggestedMax,
min: suggestedMin,
max: suggestedMax,
display: false

@@ -106,0 +106,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