@forter/chart
Advanced tools
Comparing version 5.26.0 to 5.27.0
@@ -6,2 +6,13 @@ # Change Log | ||
# [5.27.0](https://github.com/forter/web-components/compare/@forter/chart@5.26.0...@forter/chart@5.27.0) (2022-10-19) | ||
### Features | ||
* **chart:** normalize chart type ([#1095](https://github.com/forter/web-components/issues/1095)) ([2bc5866](https://github.com/forter/web-components/commit/2bc5866)) | ||
# [5.26.0](https://github.com/forter/web-components/compare/@forter/chart@5.25.0...@forter/chart@5.26.0) (2022-10-18) | ||
@@ -8,0 +19,0 @@ |
@@ -171,5 +171,5 @@ import { defineProperty as _defineProperty } from './_virtual/_rollupPluginBabelHelpers.js'; | ||
render() { | ||
var _this$config, _this$config$series, _this$config$series$a; | ||
var _this$config, _this$config$series, _this$config$series$a, _this$config$series$a2; | ||
const seriesType = (_this$config = this.config) === null || _this$config === void 0 ? void 0 : (_this$config$series = _this$config.series) === null || _this$config$series === void 0 ? void 0 : (_this$config$series$a = _this$config$series.at(0)) === null || _this$config$series$a === void 0 ? void 0 : _this$config$series$a.seriesType; | ||
const seriesType = (_this$config = this.config) === null || _this$config === void 0 ? void 0 : (_this$config$series = _this$config.series) === null || _this$config$series === void 0 ? void 0 : (_this$config$series$a = _this$config$series.at(0)) === null || _this$config$series$a === void 0 ? void 0 : (_this$config$series$a2 = _this$config$series$a.seriesType) === null || _this$config$series$a2 === void 0 ? void 0 : _this$config$series$a2.toLowerCase(); | ||
return html` | ||
@@ -176,0 +176,0 @@ <div class="chart-wrapper" data-series-type="${seriesType}"> |
{ | ||
"name": "@forter/chart", | ||
"version": "5.26.0", | ||
"version": "5.27.0", | ||
"description": "chart from Forter Components", | ||
@@ -61,3 +61,3 @@ "author": "Forter Developers", | ||
}, | ||
"gitHead": "77b3913753cac49a9b271619b1a54bbc0e1efec1" | ||
"gitHead": "c297cc11b68609e25242318f32ecf6a21ccee946" | ||
} |
@@ -156,3 +156,3 @@ import { LitElement, html } from 'lit-element'; | ||
render() { | ||
const seriesType = this.config?.series?.at(0)?.seriesType; | ||
const seriesType = this.config?.series?.at(0)?.seriesType?.toLowerCase(); | ||
return html` | ||
@@ -159,0 +159,0 @@ <div class="chart-wrapper" data-series-type="${seriesType}"> |
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
273983