@evercam/ui 0.0.52-beta.0 → 0.0.52-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +4 -1
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -5791,7 +5791,10 @@ const qt = {
|
|
|
5791
5791
|
type: n
|
|
5792
5792
|
}) {
|
|
5793
5793
|
const a = this, o = (s) => this.getEventRectX(s) + this.barXPadding, i = (s) => this.yScale(s.count), d = (s) => this.getEventRectWidth(s) - this.barXPadding * 2, l = (s) => this.yScale.range()[0] - this.yScale(s.count);
|
|
5794
|
-
t.selectAll(y.eventBar).data(e).enter().append("rect").classed(y.eventBar, !0).attr("x", o).attr("y", i).attr("width", d).attr("height", l).attr("stroke-width", 5).attr("cursor", "pointer").attr("stroke", "#0000").attr(
|
|
5794
|
+
t.selectAll(y.eventBar).data(e).enter().append("rect").classed(y.eventBar, !0).attr("x", o).attr("y", i).attr("width", d).attr("height", l).attr("stroke-width", 5).attr("cursor", "pointer").attr("stroke", "#0000").attr(
|
|
5795
|
+
"fill",
|
|
5796
|
+
(s) => s.color || `url(#${Y.transparencyGradient}-${n})`
|
|
5797
|
+
).on("mouseover", function(s, c) {
|
|
5795
5798
|
const g = u.select(this);
|
|
5796
5799
|
g.classed(`${y.eventBar}--hovered`, !0), g.attr("fill", s.color || r), g.attr("fill-opacity", 0.5), a.handleBarMouseOver(s, c, n);
|
|
5797
5800
|
}).on("mouseout", function() {
|