@forter/chart
Advanced tools
Comparing version 5.24.4 to 5.25.0
@@ -6,2 +6,13 @@ # Change Log | ||
# [5.25.0](https://github.com/forter/web-components/compare/@forter/chart@5.24.4...@forter/chart@5.25.0) (2022-10-06) | ||
### Features | ||
* **chart:** widget full width support ([#1088](https://github.com/forter/web-components/issues/1088)) ([d89e6a0](https://github.com/forter/web-components/commit/d89e6a0)) | ||
## [5.24.4](https://github.com/forter/web-components/compare/@forter/chart@5.24.3...@forter/chart@5.24.4) (2022-10-02) | ||
@@ -8,0 +19,0 @@ |
@@ -149,6 +149,9 @@ import { css } from 'lit-element'; | ||
height: 100%; | ||
border-radius: 10px; | ||
overflow: hidden; | ||
} | ||
.chart-wrapper[data-series-type="treemap"] { | ||
border-radius: 10px; | ||
} | ||
canvas { | ||
@@ -155,0 +158,0 @@ width: 100% !important; |
@@ -171,4 +171,7 @@ import { defineProperty as _defineProperty } from './_virtual/_rollupPluginBabelHelpers.js'; | ||
render() { | ||
var _this$config, _this$config$series, _this$config$series$a; | ||
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; | ||
return html` | ||
<div class="chart-wrapper"> | ||
<div class="chart-wrapper" data-series-type="${seriesType}"> | ||
<canvas id="chart"></canvas> | ||
@@ -175,0 +178,0 @@ </div> |
{ | ||
"name": "@forter/chart", | ||
"version": "5.24.4", | ||
"version": "5.25.0", | ||
"description": "chart from Forter Components", | ||
@@ -61,3 +61,3 @@ "author": "Forter Developers", | ||
}, | ||
"gitHead": "f0112023f54ede04a114fde4b9635a0a8802983b" | ||
"gitHead": "cef20add4fa579dcb50b8cf095c41df4490c757a" | ||
} |
@@ -156,4 +156,5 @@ import { LitElement, html } from 'lit-element'; | ||
render() { | ||
const seriesType = this.config?.series?.at(0)?.seriesType; | ||
return html` | ||
<div class="chart-wrapper"> | ||
<div class="chart-wrapper" data-series-type="${seriesType}"> | ||
<canvas id="chart"></canvas> | ||
@@ -160,0 +161,0 @@ </div> |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
273151
4468