Skip to content

Instantly share code, notes, and snippets.

@Willy-Kimura
Created November 21, 2017 11:30
Show Gist options
  • Save Willy-Kimura/631165ecee9519df477482453ad7482d to your computer and use it in GitHub Desktop.
Save Willy-Kimura/631165ecee9519df477482453ad7482d to your computer and use it in GitHub Desktop.
Dashboard's form-loading event.
private void Dashboard_Load(object sender, EventArgs e)
{
// 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));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment