Guides/Customize-Chart-Colors.md
... ...
@@ -0,0 +1,25 @@
1
+[[_TOC_]]
2
+
3
+##Purpose
4
+
5
+Customizing the chart colors allows you to inject a bit of your own branding, or any other color scheme for that matter, into Izenda's reports.
6
+
7
+##Example
8
+
9
+This image depicts a pie chart with custom colors set to Blue, Red, Yellow and Green.
10
+
11
+![Pie chart with custom colors](http://wiki.izenda.us/Guides/Developer-Links-and-Guides/colors.png)
12
+
13
+##Implementation
14
+
15
+The following code snippet should be added to the default.master page in a webforms implementation, or in Views/Shared/_SiteLayout.cshtml in an MVC implementation:
16
+
17
+```html
18
+<script type="text/javascript">
19
+ htmlChartColors = ['Blue', 'Red', 'Yellow', 'Green'];
20
+</script>
21
+```
22
+
23
+This would achieve the color scheme from the example image above.
24
+
25
+As a caveat, you will need a recent copy of the Izenda core product. This ability was added in 6.7.0.264, and can be downloaded [[here|http://www.izenda.com/Site/Pages/Download.aspx]]
... ...
\ No newline at end of file