spelling: previous
This commit is contained in:
parent
10586d407b
commit
23118e571a
@ -96,7 +96,7 @@ func (bc *MBarChart) layout() {
|
|||||||
s := fmt.Sprint(n)
|
s := fmt.Sprint(n)
|
||||||
bc.dataNum[i][j] = trimStr2Runes(s, bc.BarWidth)
|
bc.dataNum[i][j] = trimStr2Runes(s, bc.BarWidth)
|
||||||
}
|
}
|
||||||
//If color is not defined by default then populate a color that is different from the prevous bar
|
//If color is not defined by default then populate a color that is different from the previous bar
|
||||||
if bc.BarColor[i] == ColorDefault && bc.NumColor[i] == ColorDefault {
|
if bc.BarColor[i] == ColorDefault && bc.NumColor[i] == ColorDefault {
|
||||||
if i == 0 {
|
if i == 0 {
|
||||||
bc.BarColor[i] = ColorBlack
|
bc.BarColor[i] = ColorBlack
|
||||||
|
Loading…
Reference in New Issue
Block a user