basics of stacked bar.

This commit is contained in:
Will Charczuk 2016-07-28 18:51:55 -07:00
parent 020ec8f4a4
commit a1fb284797
8 changed files with 272 additions and 25 deletions

View file

@ -217,7 +217,7 @@ func (pc PieChart) stylePieChartValue(index int) Style {
return Style{
StrokeColor: ColorWhite,
StrokeWidth: 5.0,
FillColor: GetDefaultPieChartValueColor(index),
FillColor: GetAlternateColor(index),
FontSize: 24.0,
FontColor: ColorWhite,
Font: pc.GetFont(),
@ -232,16 +232,6 @@ func (pc PieChart) styleDefaultsBackground() Style {
}
}
func (pc PieChart) styleDefaultsSeries(seriesIndex int) Style {
strokeColor := GetDefaultSeriesStrokeColor(seriesIndex)
return Style{
StrokeColor: strokeColor,
StrokeWidth: DefaultStrokeWidth,
Font: pc.GetFont(),
FontSize: DefaultFontSize,
}
}
func (pc PieChart) styleDefaultsElements() Style {
return Style{
Font: pc.GetFont(),