Comments (3)
Hello @mayur249 and thanks for sharing the idea.
This topic was brought up on stack overflow some time ago too: https://stackoverflow.com/questions/64334052/need-a-single-border-for-stacked-bar-graph-in-highcharts
Suggested workaround was to use a dummy series to create a border:
https://jsfiddle.net/BlackLabel/vz87adgu/
from highcharts.
Hello @bm64, thank you so much for giving your time for sharing this solution.
One issue I noticed with this solution is that if we want to hover over a particular stack in a bar, we can't do it because it is considering that I am hovering over an entire bar
But for this zIndex was the solution so I applied that and got the solution.
Added the solution in this jsfiddle: https://jsfiddle.net/mayur249/21bp6tjy/
But @bm64, after applying the above solution, there is one more problem that I am facing.
This problem is related to another feature request which I have raised: https://github.com/highcharts/highcharts/issues/20781
The thing is if the stack's value which is at top is zero, I want to change the border radius of the below stacked column dynamically. But currently I am not getting any option to do that. So because of that I am facing this issue here:
from highcharts.
@mayur249 An alternative to setting the zIndex is to apply pointer-events: none
. That way the border is not clipped: https://jsfiddle.net/highcharts/ycpa8svt/
from highcharts.
Related Issues (20)
- Gantt subtasks with point dependencies getting disorganized when toggling legend HOT 1
- Declaring mouseEvent callback as point event breaks drilldown
- I'm trying to find a way to center my flag but can't seem to do it HOT 2
- Map drilldown breaks when colorAxis min and max values are set to specific range. HOT 1
- Highcharts map shows tooltip after series hidden by clicking on legend HOT 2
- Mouseover event doesn't work after upgrading from v11.4.3 to v11.4.4 HOT 1
- The boosted chart fails to update on the point click with the same config
- Windbarb rendering error when there are more points than `turboThreshold`.
- Navigation keyboard trap after printing the chart
- feDropShadow does not work with apache batik HOT 3
- More options for displaying values ββin KPI components.
- Add Repobeats (metrics) to README
- Not able to sort arc diagram ascending or descending order HOT 2
- Heatmap: The xAxis line color is not applied in inverted (opposite) mode HOT 1
- GoogleSheets worksheet option has no effect.
- Incorrect annotation drawing position when there is more than one series & one of them is scatter.
- Can't load es-modules version of highcharts-more due to CORS HOT 1
- Tooltip in 3D Pie HOT 2
- Drilldown event on chart fires multiple Times on stacked column series #2989 HOT 2
- Minor fixes to Live Weather demo
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from highcharts.