Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当您单击条形图时,我希望禁用或至少找到如何修改 Apexchart 的条形图“选择着色器”。您可以在图像中看到所选的条将变得比其他条更暗。我想以此为基础(使其更暗或更亮)。我搜索了 ApexCharts 文档并尝试实现选择和其他一些,但没有运气:
options = { states: { active: { filter: { type: 'none' /* none, lighten, darken */ } } } }
文档:https ://apexcharts.com/docs/options/states/#active