func rightAxis(style *Axis) { pre := `w` if !style.NoLine { pre = `c` } if !style.NoLabel { pre += `m` } c.Box(``, 0, 0, pre+style.Option(), style.Tick.MajorInterval, style.Tick.SubCount) }
func leftAxis(style *Axis) { pre := `u` if !style.NoLine { pre = `b` } if !style.NoLabel { pre += `n` } c.Box(``, 0, 0, pre+style.Option(), style.Tick.MajorInterval, style.Tick.SubCount) }
func bottomAxis(style *Axis) { pre := `u` if !style.NoLine { pre = `b` } if !style.NoLabel { pre += `n` } c.Box(pre+style.Option(), style.Tick.MajorInterval, style.Tick.SubCount, ``, 0, 0) }