charts/chart_colors
library
Functions
-
categoricalChartPalette({required Color seed, required Brightness brightness, required int count, Color? background, double contrast = 0.5, Algo algo = Algo.apca, bool isColorAtIndexStable = true})
→ List<Color>
-
count categorical series colors; see ChartColors.categorical.
-
divergingChartColor({required Color lowSeed, required Color highSeed, required Brightness brightness, required double t, Color? background, double contrast = 0.5, Algo algo = Algo.apca})
→ Color
-
Diverging chart color at
t in 0–1, neutral at exactly 0.5; see
ChartColors.divergingWith.
-
sequentialChartColor({required Color seed, required Brightness brightness, required double t, Color? background, double contrast = 0.5, Algo algo = Algo.apca})
→ Color
-
Sequential (low → high) chart color at
t in 0–1; see
ChartColors.sequential.