mirror of
https://github.com/miguelmota/cointop
synced 2024-11-05 00:00:14 +00:00
Fix comments
This commit is contained in:
parent
a2e432bb1b
commit
370b9f3a56
@ -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…
Reference in New Issue
Block a user