Skip to content

lucas-inacio/gochart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gochart

Simple chart implementation using fyne and gg libraries

Dependencies

Functionality

Currently only BarChart and LineChart are provided. More types can be created by embedding BaseChart and implementing the required methods:

  • Required by Chart interface
      // A "contructor" like NewAwesomeChart should be created as well
      BeginDraw(dc *gg.Context, x, y float64)
      DrawPoint(dc *gg.Context, x, y, yOffset float64, int, image.Rectangle)
      EndDraw(dc *gg.Context)
  • Required by Fyne (follow the guidelines at Extending Widgets) for more information:
      CreateRenderer() fyne.WidgetRenderer

About

Simple chart utilities based on fyne UI and gg

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages