Title
How to assign different colors to multiple lines in a line chart
Description
Hello, how to assign different colors to multiple polylines?
Solution
- Configure color in spec, you can refer to this demo https://visactor.bytedance.net/vchart/demo/area-chart/stream-graph
- Configure the color in the element style, you can refer to https://visactor.bytedance.net/vchart/demo/line-chart/multi-line
- Set the color palette by theme, you can refer to the demo https://visactor.bytedance.net/vchart/demo/theme/theme-switch , documentation: https://visactor.bytedance.net/vchart/guide/tutorial_docs/Theme/Color_Theme
Top comments (0)