!!!###!!!title=96-How to display the complete information of the legend when hovering——VisActor/VChart FAQ documents!!!###!!!

How to display the complete information of the legend when hovering?

Problem Description

As shown in the figure below, the text of the legend is omitted. How to configure the hover to display the complete text?

Solution Solution

Different chart library solutions have different solutions. VChart supports complete text display with omitted text by default, and you only need to hover to display it.

Result display

Online effect reference: https://visactor.io/vchart/demo/legend/custom-data

Legend demo: https://visactor.io/vchart/demo/legend/custom-data

Legend tutorial: https://visactor.io/vchart/guide/tutorial_docs/Chart_Concepts/Legend

Legend configuration: https://visactor.io/vchart/option/barChart#legends-discrete.type

github: https://github.com/VisActor/VChart