@forter/chart
Advanced tools
Comparing version 5.8.5 to 5.8.6
@@ -6,2 +6,13 @@ # Change Log | ||
## [5.8.6](https://github.com/forter/web-components/compare/@forter/chart@5.8.5...@forter/chart@5.8.6) (2021-11-08) | ||
### Bug Fixes | ||
* **widget:** annotations dont get download as csv ([#796](https://github.com/forter/web-components/issues/796)) ([aa2c3f0](https://github.com/forter/web-components/commit/aa2c3f0)) | ||
## [5.8.5](https://github.com/forter/web-components/compare/@forter/chart@5.8.4...@forter/chart@5.8.5) (2021-11-04) | ||
@@ -8,0 +19,0 @@ |
@@ -6,3 +6,3 @@ import { get, merge } from 'lodash-es'; | ||
type: 'line', | ||
borderColor: 'var(--fc-gray-500)', | ||
borderColor: 'var(--fc-brand-blue-600)', | ||
borderWidth: 2, | ||
@@ -12,9 +12,10 @@ borderDash: [3, 2], | ||
enabled: true, | ||
backgroundColor: 'var(--fc-gray-200)', | ||
color: 'var(--fc-gray-700)', | ||
backgroundColor: 'var(--fc-brand-blue-600)', | ||
color: 'white', | ||
position: 'start', | ||
xPadding: 5, | ||
yPadding: 3, | ||
xPadding: 4, | ||
yPadding: 2, | ||
font: { | ||
size: 10 | ||
size: 9, | ||
family: '"Open Sans"' | ||
} | ||
@@ -38,3 +39,3 @@ } | ||
label: { | ||
content: data.formattedValue | ||
content: (data.aggregationLabel || '').trim() | ||
} | ||
@@ -59,3 +60,3 @@ }; | ||
annotation.borderColor = translateColor(annotation.borderColor, context); | ||
annotation.label.backgroundColor = translateColor(annotation.label.backgroundColor, context); | ||
annotation.label.backgroundColor = `${translateColor(annotation.label.backgroundColor, context)}`; | ||
annotation.label.color = translateColor(annotation.label.color, context); | ||
@@ -62,0 +63,0 @@ return annotation; |
{ | ||
"name": "@forter/chart", | ||
"version": "5.8.5", | ||
"version": "5.8.6", | ||
"description": "chart from Forter Components", | ||
@@ -59,3 +59,3 @@ "author": "Forter Developers", | ||
}, | ||
"gitHead": "44862b9247612eb1a958155e940f54bc7b4436ae" | ||
"gitHead": "ed841a9926e9407442aa27cbe55bee55d4bf5f3b" | ||
} |
@@ -7,3 +7,3 @@ import { merge } from 'lodash-es'; | ||
type: 'line', | ||
borderColor: 'var(--fc-gray-500)', | ||
borderColor: 'var(--fc-brand-blue-600)', | ||
borderWidth: 2, | ||
@@ -13,9 +13,10 @@ borderDash: [3, 2], | ||
enabled: true, | ||
backgroundColor: 'var(--fc-gray-200)', | ||
color: 'var(--fc-gray-700)', | ||
backgroundColor: 'var(--fc-brand-blue-600)', | ||
color: 'white', | ||
position: 'start', | ||
xPadding: 5, | ||
yPadding: 3, | ||
xPadding: 4, | ||
yPadding: 2, | ||
font: { | ||
size: 10 | ||
size: 9, | ||
family: '"Open Sans"' | ||
} | ||
@@ -39,3 +40,3 @@ } | ||
label: { | ||
content: data.formattedValue | ||
content: (data.aggregationLabel || '').trim() | ||
} | ||
@@ -59,3 +60,3 @@ }; | ||
annotation.label.backgroundColor = | ||
translateColor(annotation.label.backgroundColor, context); | ||
`${translateColor(annotation.label.backgroundColor, context)}`; | ||
annotation.label.color = | ||
@@ -62,0 +63,0 @@ translateColor(annotation.label.color, context); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
173096
3081