Skip to content

Instantly share code, notes, and snippets.

@Willy-Kimura
Created November 21, 2017 11:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Willy-Kimura/f0e53f980d020b86768d04cc210fe9e1 to your computer and use it in GitHub Desktop.
Save Willy-Kimura/f0e53f980d020b86768d04cc210fe9e1 to your computer and use it in GitHub Desktop.
Dashboard's form-loading event.
Private Sub Dashboard_Load(sender As Object, e As EventArgs) Handles MyBase.Load
' Add custom colors to our Area and Line charts.
BunifuDataViz1.colorSet.Add(Color.FromArgb(76, 131, 115))
BunifuDataViz1.colorSet.Add(Color.FromArgb(116, 231, 148))
' Add custom colors to our Doughnut chart.
BunifuDataViz2.colorSet.Add(Color.FromArgb(85, 159, 127))
BunifuDataViz2.colorSet.Add(Color.FromArgb(70, 118, 126))
BunifuDataViz2.colorSet.Add(Color.FromArgb(123, 197, 222))
BunifuDataViz2.colorSet.Add(Color.FromArgb(92, 175, 188))
BunifuDataViz2.colorSet.Add(Color.FromArgb(156, 222, 202))
BunifuDataViz2.colorSet.Add(Color.FromArgb(113, 228, 146))
End Sub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment