Fix comments

pull/180/head
Simon Roberts 3 years ago
parent a2e432bb1b
commit 370b9f3a56
No known key found for this signature in database
GPG Key ID: 0F30F99E6B771FD4

@ -14,7 +14,7 @@ import (
log "github.com/sirupsen/logrus"
)
// Time-series data for a Coin used when building a Portfolio view for chart
// PriceData is the time-series data for a Coin used when building a Portfolio view for chart
type PriceData struct {
coin *Coin
data [][]float64

@ -56,6 +56,7 @@ func (c *ChartPlot) SetData(data []float64) {
c.t.Data = data
}
// GetChartDataSize ...
func (c *ChartPlot) GetChartDataSize(width int) int {
axisYWidth := 30
return (width * 2) - axisYWidth

Loading…
Cancel
Save