axidio-styleguide-library1-v2 0.1.64 → 0.1.65
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.
|
@@ -7261,26 +7261,27 @@ class HorizontalBarsWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
7261
7261
|
.attr('transform', 'translate(' + xScale.bandwidth() / 2 + ',' + height + ')')
|
|
7262
7262
|
.call(d3.axisBottom(xScale).tickSize(-height).tickFormat(''))
|
|
7263
7263
|
.style('stroke-dasharray', '5 5')
|
|
7264
|
-
.style('color', '#999999')
|
|
7265
|
-
// .style("opacity", "0.5")
|
|
7264
|
+
.style('color', 'var(--chart-grid-color, #999999)')
|
|
7266
7265
|
.call((g) => g.select('.domain').remove());
|
|
7267
7266
|
}
|
|
7268
7267
|
/**
|
|
7269
7268
|
* used to draw y-axis grid
|
|
7270
7269
|
*/
|
|
7271
7270
|
if (self.chartConfiguration.yAxisGrid) {
|
|
7272
|
-
svg
|
|
7273
|
-
|
|
7274
|
-
|
|
7275
|
-
|
|
7276
|
-
|
|
7277
|
-
|
|
7278
|
-
|
|
7279
|
-
|
|
7280
|
-
|
|
7281
|
-
|
|
7282
|
-
|
|
7283
|
-
//
|
|
7271
|
+
// svg
|
|
7272
|
+
// .append('g')
|
|
7273
|
+
// .attr('class', 'grid')
|
|
7274
|
+
// .call(
|
|
7275
|
+
// d3
|
|
7276
|
+
// .axisLeft(yScale)
|
|
7277
|
+
// .ticks(self.chartConfiguration.numberOfYTicks)
|
|
7278
|
+
// .tickSize(-width)
|
|
7279
|
+
// .tickFormat('')
|
|
7280
|
+
// )
|
|
7281
|
+
// // Remove hardcoded colors and use CSS variables
|
|
7282
|
+
// .style('color', 'var(--chart-grid-color)')
|
|
7283
|
+
// .style('opacity', '1')
|
|
7284
|
+
// // .call((g) => g.select('.domain').remove());
|
|
7284
7285
|
}
|
|
7285
7286
|
var layer = svg
|
|
7286
7287
|
.selectAll('.layer')
|