Documentation ¶
Index ¶
- type Bar
- func (s *Bar) BarColor(c color.Color) *Bar
- func (s *Bar) BarWidth(w float32) *Bar
- func (s *Bar) CreateRenderer() fyne.WidgetRenderer
- func (s *Bar) Data(data []float32) *Bar
- func (s *Bar) Do(fn func(*Bar)) *Bar
- func (s *Bar) MinSize() fyne.Size
- func (s *Bar) MouseIn(*desktop.MouseEvent)
- func (s *Bar) MouseMoved(e *desktop.MouseEvent)
- func (s *Bar) MouseOut()
- func (s *Bar) Tapped(e *fyne.PointEvent)
- type Line
- func (s *Line) CreateRenderer() fyne.WidgetRenderer
- func (s *Line) Data(data ...float32) *Line
- func (s *Line) Do(fn func(*Line)) *Line
- func (s *Line) LineColor(c color.Color) *Line
- func (s *Line) LineWidth(w float32) *Line
- func (s *Line) MinSize() fyne.Size
- func (s *Line) MouseIn(*desktop.MouseEvent)
- func (s *Line) MouseMoved(e *desktop.MouseEvent)
- func (s *Line) MouseOut()
- func (s *Line) Tapped(e *fyne.PointEvent)
- type PolyLine
- func (s *PolyLine) CreateRenderer() fyne.WidgetRenderer
- func (s *PolyLine) Data(data ...float32) *PolyLine
- func (s *PolyLine) Do(fn func(*PolyLine)) *PolyLine
- func (s *PolyLine) LineColor(c color.Color) *PolyLine
- func (s *PolyLine) LineWidth(w float32) *PolyLine
- func (s *PolyLine) MinSize() fyne.Size
- func (s *PolyLine) MouseIn(*desktop.MouseEvent)
- func (s *PolyLine) MouseMoved(e *desktop.MouseEvent)
- func (s *PolyLine) MouseOut()
- func (s *PolyLine) Tapped(e *fyne.PointEvent)
- type Scatter
- func (s *Scatter) CreateRenderer() fyne.WidgetRenderer
- func (s *Scatter) Data(data ...float32) *Scatter
- func (s *Scatter) Do(fn func(*Scatter)) *Scatter
- func (s *Scatter) MinSize() fyne.Size
- func (s *Scatter) MouseIn(*desktop.MouseEvent)
- func (s *Scatter) MouseMoved(e *desktop.MouseEvent)
- func (s *Scatter) MouseOut()
- func (s *Scatter) ScatterColor(c color.Color) *Scatter
- func (s *Scatter) ScatterWidth(w float32) *Scatter
- func (s *Scatter) Tapped(e *fyne.PointEvent)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bar ¶
type Bar struct { widget.BaseWidget W, H float32 X *canvas.Line Y *canvas.Line T1 *canvas.Text Center fyne.Position ChartCtn *fyne.Container // contains filtered or unexported fields }
Bar is a widget for displaying a separator with themeable color.
Since: 1.4
func (*Bar) CreateRenderer ¶
func (s *Bar) CreateRenderer() fyne.WidgetRenderer
CreateRenderer returns a new renderer for the separator.
Implements: fyne.Widget
func (*Bar) MinSize ¶
func (s *Bar) MinSize() fyne.Size
MinSize returns the minimal size of the separator.
Implements: fyne.Widget
func (*Bar) MouseIn ¶
func (s *Bar) MouseIn(*desktop.MouseEvent)
func (*Bar) MouseMoved ¶
func (s *Bar) MouseMoved(e *desktop.MouseEvent)
MouseMoved is called when a desktop pointer hovers over the widget
type Line ¶
type Line struct { widget.BaseWidget W, H float32 X *canvas.Line Y *canvas.Line T1 *canvas.Text Center fyne.Position ChartCtn *fyne.Container // contains filtered or unexported fields }
Line is a widget for displaying a separator with themeable color.
Since: 1.4
func (*Line) CreateRenderer ¶
func (s *Line) CreateRenderer() fyne.WidgetRenderer
CreateRenderer returns a new renderer for the separator.
Implements: fyne.Widget
func (*Line) MinSize ¶
func (s *Line) MinSize() fyne.Size
MinSize returns the minimal size of the separator.
Implements: fyne.Widget
func (*Line) MouseIn ¶
func (s *Line) MouseIn(*desktop.MouseEvent)
func (*Line) MouseMoved ¶
func (s *Line) MouseMoved(e *desktop.MouseEvent)
MouseMoved is called when a desktop pointer hovers over the widget
type PolyLine ¶
type PolyLine struct { widget.BaseWidget W, H float32 X *canvas.Line Y *canvas.Line T1 *canvas.Text Center fyne.Position ChartCtn *fyne.Container // contains filtered or unexported fields }
PolyLine is a widget for displaying a separator with themeable color.
Since: 1.4
func (*PolyLine) CreateRenderer ¶
func (s *PolyLine) CreateRenderer() fyne.WidgetRenderer
CreateRenderer returns a new renderer for the separator.
Implements: fyne.Widget
func (*PolyLine) MinSize ¶
func (s *PolyLine) MinSize() fyne.Size
MinSize returns the minimal size of the separator.
Implements: fyne.Widget
func (*PolyLine) MouseIn ¶
func (s *PolyLine) MouseIn(*desktop.MouseEvent)
func (*PolyLine) MouseMoved ¶
func (s *PolyLine) MouseMoved(e *desktop.MouseEvent)
MouseMoved is called when a desktop pointer hovers over the widget
type Scatter ¶
type Scatter struct { widget.BaseWidget W, H float32 X *canvas.Line Y *canvas.Line T1 *canvas.Text Center fyne.Position ChartCtn *fyne.Container // contains filtered or unexported fields }
Scatter is a widget for displaying a separator with themeable color.
Since: 1.4
func (*Scatter) CreateRenderer ¶
func (s *Scatter) CreateRenderer() fyne.WidgetRenderer
CreateRenderer returns a new renderer for the separator.
Implements: fyne.Widget
func (*Scatter) MinSize ¶
func (s *Scatter) MinSize() fyne.Size
MinSize returns the minimal size of the separator.
Implements: fyne.Widget
func (*Scatter) MouseIn ¶
func (s *Scatter) MouseIn(*desktop.MouseEvent)
func (*Scatter) MouseMoved ¶
func (s *Scatter) MouseMoved(e *desktop.MouseEvent)
MouseMoved is called when a desktop pointer hovers over the widget
func (*Scatter) MouseOut ¶
func (s *Scatter) MouseOut()
MouseOut is called when a desktop pointer exits the widget