Comments (12)
@leandrocfe, procede?
Sim, eu vou remover e deixar somente pela classe. Tenho umas melhorias pra lançar junto com isso. Acho que até a próxima semana 👍
from filament-apex-charts.
Hi @leandrocfe, sorry for the late reply, the adjustment worked out well, thank you very much!
from filament-apex-charts.
Can confirm that this does happen sometimes. I tried to use the "title" option and the same thing happened. I have to switch from dark back to light mode many times for the black text to show instead of white.
from filament-apex-charts.
Check this out.. I submit issue but found a solution
from filament-apex-charts.
It's not really a solution though. #9ca3af
is essentially the only color that you can use for legend labels, etc... only because the color looks okay in both light and dark. I think it would be a lot better if dark mode was actually supported with chart text, but I'm not sure how that would be done unless the package owner decided to override something from apex charts.
from filament-apex-charts.
So, in my opinion, it may not be an issue, but I think it is definitely a flaw...
from filament-apex-charts.
The problem is here...
/resources/views/widgets/components/chart.blade.php
localStorage.getItem('theme') || (document.documentElement.classList.contains('dark') ? 'dark' : 'light')
from filament-apex-charts.
I'm not sure if that is the actual issue but I actually found a solution by overriding the CSS class of whatever I am trying to use in filament.css
like this:
.apexcharts-title-text {
fill: #111827;
}
.dark .apexcharts-title-text {
fill: #ffffff;
}
This actually looks promising to me for many things considering the CSS of almost everything in apex charts is not influenced by TailwindCSS at all.
from filament-apex-charts.
@leandrocfe, procede?
from filament-apex-charts.
Boa, muito obrigado @leandrocfe !
Abraço e bom final de semana
from filament-apex-charts.
Boa, muito obrigado @leandrocfe !
Abraço e bom final de semana
Valeu. Bom fim de semana
from filament-apex-charts.
Hi @gotzsys,
Would you like to try this version?
composer require leandrocfe/filament-apex-charts:"^2.0"
from filament-apex-charts.
Related Issues (20)
- Datalabel formatter HOT 13
- Rendering problem using single select filter HOT 2
- Label not visible in light theme HOT 1
- Widget Register Issue HOT 2
- Pie chart too squeezed on mobile HOT 2
- Laravel can't locate Component HOT 5
- Change on single filter doesnt update HOT 2
- dropdownOpen not defined HOT 5
- Funnel Chart not supported HOT 5
- Zoom buttons in toolbar doesn't work HOT 2
- Chart id is not unique when rendering component in a loop. HOT 2
- Updating chart data not working HOT 5
- extraJsOptions HOT 5
- ApexCharts is not defined after update HOT 2
- lower Z-index on filter count HOT 1
- Apex chart squashed in mobile view
- Cannot install this package HOT 3
- Updating chart data not update extraJsOptions
- Graph hidden
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 filament-apex-charts.