Black chart on safari. Gradient dosnt work
See original GitHub issue[ x ] bug report [ ] feature request [ ] support request
On safari browser chart is black. All works fine , but color is black. When i change [gradient]=“true” to false is ok but without gradient 👎
lineChartColorScheme = {
domain: ['#C40536', '#6d6d6d']
}
Angular 5.0.0 “d3”: “^4.12.0”,
Issue Analytics
- State:
- Created 6 years ago
- Reactions:15
- Comments:21 (2 by maintainers)
Top Results From Across the Web
Black chart on safari gradient doesn't work #808 - GitHub
Create an Angular 5 application and import the necessary components and insert the ngx-charts-bar-vertical and load it up on safari and you'll ...
Read more >Background-image: linear-gradient not working on Safari (OS X)
I'm trying to style a 100% width div with a dark background a green raster. It works fine in all the browsers, except...
Read more >Gradients Not Showing Properly in Safari - Forum | Webflow
Safari can render transparent as the color black with a 0% opacity. To fix this, change any gradient stops from transparent to rgba(255, ......
Read more >Change the color of text or add a gradient in Pages on Mac
Click the color stops below the slider to choose colors. Click near the bottom edge of the slider to add another color stop....
Read more >background gradient not working in Safari - Highcharts
I am having difficulties getting chart backgrounds with color gradients to work on Safari. Initially any graph with a background gradient ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Also looking for a fix here.
This issue es because you have to pass the absolute route of the linearGradient in Safari
Back in version 3.1.0 they were using this approach :
https://github.com/swimlane/ngx-charts/blob/9b79199e909b0c4ea8959891fe63fa2835c2fb20/src/area-chart/area-chart.component.ts#L209
But now i cant figure out how they’re passing the “base ref” to the charts
Now theyre using a variable called : gradientUrl but cant figure out how they link the base ref there.