{"id":557,"date":"2013-10-14T12:44:14","date_gmt":"2013-10-14T17:44:14","guid":{"rendered":"http:\/\/www.cognitiveinfo.com\/?p=557"},"modified":"2013-10-14T12:44:14","modified_gmt":"2013-10-14T17:44:14","slug":"custom-chart-palettes-in-ssrs","status":"publish","type":"post","link":"http:\/\/cognitiveinfo.com\/?p=557","title":{"rendered":"Custom Chart Palettes in SSRS"},"content":{"rendered":"<p style=\"text-align: center;\"><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter size-medium wp-image-559\" style=\"border: 1px solid black;\" alt=\"SSRS custom palette\" src=\"http:\/\/www.cognitiveinfo.com\/wp-content\/uploads\/2010\/03\/SSRS-custom-300x211.jpg\" width=\"300\" height=\"211\" \/><\/p>\n<p>This article is a follow up to the <a title=\"Add a custom chart palette to Cognos.\" href=\"http:\/\/www.cognitiveinfo.com\/2010\/add-a-custom-chart-palette-to-cognos\/\">Cognos article on creating a custom color palette.\u00a0 <\/a><\/p>\n<p>Custom palettes are pretty common when companies start to standardize their corporate image across all company communications.<\/p>\n<ol>\n<li>Make a copy of your report template.<\/li>\n<li>Name it &#8216;MyCorp Chart Report&#8217;<\/li>\n<li>In the report area, add a chart<\/li>\n<li>Right-Click the chart object and choose Properties<\/li>\n<li>For Palette, choose &#8216;Custom&#8217;<a href=\"http:\/\/www.cognitiveinfo.com\/wp-content\/uploads\/2010\/03\/SSRS-custom2.jpg\"><img decoding=\"async\" class=\"aligncenter size-medium wp-image-561\" alt=\"SSRS-custom2\" src=\"http:\/\/www.cognitiveinfo.com\/wp-content\/uploads\/2010\/03\/SSRS-custom2-278x300.jpg\" width=\"278\" height=\"300\" \/><br \/>\n<\/a><\/li>\n<li>In the properties window, not find the custom palette settings.<br \/>\n<a href=\"http:\/\/www.cognitiveinfo.com\/wp-content\/uploads\/2010\/03\/SSRS-custom4.jpg\"><img decoding=\"async\" class=\"aligncenter size-medium wp-image-563\" alt=\"SSRS-custom4\" src=\"http:\/\/www.cognitiveinfo.com\/wp-content\/uploads\/2010\/03\/SSRS-custom4-300x287.jpg\" width=\"300\" height=\"287\" \/><\/a><\/li>\n<li>A dialog box appears that allows you to select each color to include in the custom palette.\u00a0\u00a0 Below I have set the first color in the palette using RGB codes to match the purple logo for Cognitive Information.\u00a0\u00a0 You can also click the elipses to use the color picker or color wheel.<a href=\"http:\/\/www.cognitiveinfo.com\/wp-content\/uploads\/2010\/03\/SSRS-custom5.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-564\" alt=\"SSRS-custom5\" src=\"http:\/\/www.cognitiveinfo.com\/wp-content\/uploads\/2010\/03\/SSRS-custom5-300x206.jpg\" width=\"300\" height=\"206\" \/><\/a><\/li>\n<li>Once you click &#8216;OK&#8217; the new palette is applied to the sample chart.<\/li>\n<\/ol>\n<p>If you change the chart type,\u00a0 it will keep the custom color palette.\u00a0\u00a0 If you copy the chart object, it will also keep the custom palette.<\/p>\n<p>To copy your new custom palette to other charts and not loose more minutes of your life to the tedium of picking colors, go to the code view.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-562\" alt=\"View code for SSRS report\" src=\"http:\/\/www.cognitiveinfo.com\/wp-content\/uploads\/2010\/03\/SSRS-custom3.jpg\" width=\"335\" height=\"68\" \/><\/p>\n<pre>Search and find &lt;ChartCustomPaletteColors&gt;.   \nCopy the folowing section to other reports as needed.   \nThe code for the color palette above:<\/pre>\n<pre>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &lt;Palette&gt;Custom&lt;\/Palette&gt;\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &lt;ChartCustomPaletteColors&gt;\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &lt;ChartCustomPaletteColor&gt;#43057a&lt;\/ChartCustomPaletteColor&gt;\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &lt;ChartCustomPaletteColor&gt;Yellow&lt;\/ChartCustomPaletteColor&gt;\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &lt;ChartCustomPaletteColor&gt;Plum&lt;\/ChartCustomPaletteColor&gt;\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &lt;ChartCustomPaletteColor&gt;Orange&lt;\/ChartCustomPaletteColor&gt;\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &lt;ChartCustomPaletteColor&gt;SlateBlue&lt;\/ChartCustomPaletteColor&gt;\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &lt;ChartCustomPaletteColor&gt;LightGreen&lt;\/ChartCustomPaletteColor&gt;\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &lt;ChartCustomPaletteColor&gt;HotPink&lt;\/ChartCustomPaletteColor&gt;\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &lt;ChartCustomPaletteColor&gt;Blue&lt;\/ChartCustomPaletteColor&gt;\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &lt;ChartCustomPaletteColor&gt;DarkGreen&lt;\/ChartCustomPaletteColor&gt;\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &lt;\/ChartCustomPaletteColors&gt;<\/pre>\n<p>If this has been helpful, let me know.<\/p>\n<p><strong>References:<\/strong><\/p>\n<p><a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/dd239399.aspx\" target=\"_blank\" rel=\"noopener\">http:\/\/technet.microsoft.com\/en-us\/library\/dd239399.aspx<\/a><br \/>\n<a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/dd239355.aspx\" target=\"_blank\" rel=\"noopener\">http:\/\/technet.microsoft.com\/en-us\/library\/dd239355.aspx<\/a><\/p>\n<p><em>Update: This article got saved away as a &#8216;draft&#8217; for way too long.\u00a0\u00a0 I updated both articles and I finally hit Publish.<br \/>\n<\/em><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This article is a follow up to the Cognos article on creating a custom color palette.\u00a0 Custom palettes are pretty common when companies start to standardize their corporate image across all company communications. Make a copy of your report template. Name it &#8216;MyCorp Chart Report&#8217; In the report area, add a chart Right-Click the chart [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":559,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[79,102],"class_list":["post-557","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ssrs","tag-reporting-services","tag-ssrs"],"_links":{"self":[{"href":"http:\/\/cognitiveinfo.com\/index.php?rest_route=\/wp\/v2\/posts\/557","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/cognitiveinfo.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/cognitiveinfo.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/cognitiveinfo.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/cognitiveinfo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=557"}],"version-history":[{"count":0,"href":"http:\/\/cognitiveinfo.com\/index.php?rest_route=\/wp\/v2\/posts\/557\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/cognitiveinfo.com\/index.php?rest_route=\/"}],"wp:attachment":[{"href":"http:\/\/cognitiveinfo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=557"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/cognitiveinfo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=557"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/cognitiveinfo.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=557"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}