The source code is in gist. JavaFX chart only provides 8 colors. If there are more than 8 series, the colors are reused. As an example, below chart has 11 series. Notice that the colors are restarted after the 8th. Watermelons has the same color with Apples, Pineapples with Lemons and Coconuts with Oranges. Let’s […]