How to Turn off Hover Fading Effect in JavaScript Chart Series?
Description
This article demonstrates how to turn off the fading effect on chart series when hovering over JavaScript charts.
Solution
Chart highlighting on hover is often used to emphasize specific data points or series. While this can be visually useful, in some cases the fading of other series may be undesirable or distracting. You can disable this fading effect by setting the highlightColor property to ‘transparent’.
Code Snippet
var chart = new ej.charts.Chart({
highlightColor: 'transparent',
});
chart.appendTo('#column-container');
The following image illustrates the output of the above code
Conclusion
We hope you enjoyed learning about How to Turn off Hover Fading Effect in JavaScript Chart Series.
You can refer to our JavaScript Chart feature tour page to learn about its other groundbreaking feature representations and documentation, as well as how to quickly get started with configuration specifications. You can also explore our Angular Chart example to understand how to create and manipulate data.
For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our other controls.
If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forums, BoldDesk Support, or feedback portal. We are always happy to assist you!