I currently have 12 lines representing 12 different people in a spline graph. I noticed that once it goes beyond ten, the colors and shapes repeat. This makes it hard to distinguish between different people. In the future I will probably have more than 12, which will make this default behavior an even bigger problem.

Is there any way to extend the default number or perhaps to decide on the colors for a pre-set number of people beforehand? This last option would not be ideal if it couldn't be responsive to dynamic numbers of people.

有帮助吗?

解决方案

YOu can define colors in array: http://api.highcharts.com/highcharts#colors

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top