1 Star 0 Fork 0

rain/go-chart

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
axis.go 546 Bytes
一键复制 编辑 原始数据 按行查看 历史
Will Charczuk 提交于 2016-07-12 19:14 . gridlines.
package chart
// YAxisType is a type of y-axis; it can either be primary or secondary.
type YAxisType int
const (
// YAxisPrimary is the primary axis.
YAxisPrimary YAxisType = 0
// YAxisSecondary is the secondary axis.
YAxisSecondary YAxisType = 1
)
// Axis is a chart feature detailing what values happen where.
type Axis interface {
GetName() string
GetStyle() Style
GetTicks(r Renderer, ra Range, vf ValueFormatter) []Tick
GetGridLines(ticks []Tick) []GridLine
Render(c *Chart, r Renderer, canvasBox Box, ra Range, ticks []Tick)
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/rainfly123/go-chart.git
git@gitee.com:rainfly123/go-chart.git
rainfly123
go-chart
go-chart
v1.0.0-rc.1

搜索帮助

0d507c66 1850385 C8b1a773 1850385