<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : SOLVED: Chart: How to load a custom pallete</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Suite Pro : SOLVED: Chart: How to load a custom pallete]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 21 Apr 2026 00:25:13 +0000</pubDate>
  <lastBuildDate>Sat, 25 Feb 2012 14:11:49 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=19520</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[SOLVED: Chart: How to load a custom pallete : Solved. Sorry I posted a bit to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19520&amp;PID=67691&amp;title=solved-chart-how-to-load-a-custom-pallete#67691</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1800">SimasJ</a><br /><strong>Subject:</strong> 19520<br /><strong>Posted:</strong> 25 February 2012 at 2:11pm<br /><br /><div>Solved. Sorry I posted a bit to early :(&nbsp;</div><div><br></div><div>The following line is wrong above. It should be:</div><div><br><div><span style="text-align: left; : rgb248, 248, 252; ">PalletePropExchange.CreateAsXML True, "Pallete"</span></div></div><div><span style="text-align: left; : rgb248, 248, 252; "><br></span></div><div><span style="text-align: left; : rgb248, 248, 252; ">The section refers to the xml node to load and I wasn't aware of that.</span></div>]]>
   </description>
   <pubDate>Sat, 25 Feb 2012 14:11:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19520&amp;PID=67691&amp;title=solved-chart-how-to-load-a-custom-pallete#67691</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED: Chart: How to load a custom pallete :  Hi,I created a pallete using...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19520&amp;PID=67690&amp;title=solved-chart-how-to-load-a-custom-pallete#67690</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1800">SimasJ</a><br /><strong>Subject:</strong> 19520<br /><strong>Posted:</strong> 25 February 2012 at 2:00pm<br /><br />Hi,<div><br></div><div>I created a pallete using the Chart Builder and saved it to a file. Then I am loading it with the following code:</div><div><br></div><div><div>Dim PalletePropExchange As PropExchange</div><div>Set PalletePropExchange = ChartControlGlobalSettings.CreatePropExchange</div><div>PalletePropExchange.CreateAsXML True, "Content"</div><div>PalletePropExchange.LoadFromFile pPalletePath</div><div>&nbsp; &nbsp;&nbsp;</div><div>mChart.Content.Appearance.LoadPalette PalletePropExchange</div></div><div><br></div><div>Where pPalletePath is the full path to a file wit this text:</div><div><br></div><div><div>&lt;Palette CompactMode="1"&gt;</div><div><span ="apple-tab-span"="" style="white-space:pre">	</span>&lt;Items&gt;</div><div><span ="apple-tab-span"="" style="white-space:pre">		</span>&lt;Item Color="86, 135, 26" Color2="221, 168, 117"/&gt;</div><div><span ="apple-tab-span"="" style="white-space:pre">		</span>&lt;Item Color="236, 159, 56" Color2="186, 198, 146"/&gt;</div><div><span ="apple-tab-span"="" style="white-space:pre">		</span>&lt;Item Color="227, 166, 0" Color2="255, 211, 89"/&gt;</div><div><span ="apple-tab-span"="" style="white-space:pre">		</span>&lt;Item Color="204, 162, 17" Color2="242, 214, 106"/&gt;</div><div><span ="apple-tab-span"="" style="white-space:pre">		</span>&lt;Item Color="193, 118, 20" Color2="237, 170, 82"/&gt;</div><div><span ="apple-tab-span"="" style="white-space:pre">		</span>&lt;Item Color="125, 123, 56" Color2="194, 192, 119"/&gt;</div><div><span ="apple-tab-span"="" style="white-space:pre">		</span>&lt;Item Color="178, 145, 57" Color2="219, 200, 144"/&gt;</div><div><span ="apple-tab-span"="" style="white-space:pre">		</span>&lt;Item Color="80, 85, 74" Color2="150, 158, 142"/&gt;</div><div><span ="apple-tab-span"="" style="white-space:pre">		</span>&lt;Item Color="70, 59, 84" Color2="115, 97, 137"/&gt;</div><div><span ="apple-tab-span"="" style="white-space:pre">		</span>&lt;Item Color="44, 53, 28" Color2="74, 88, 48"/&gt;</div><div><span ="apple-tab-span"="" style="white-space:pre">		</span>&lt;Item Color="49, 64, 80" Color2="83, 106, 134"/&gt;</div><div><span ="apple-tab-span"="" style="white-space:pre">		</span>&lt;Item Color="80, 51, 31" Color2="136, 88, 53"/&gt;</div><div><span ="apple-tab-span"="" style="white-space:pre">	</span>&lt;/Items&gt;</div><div>&lt;/Palette&gt;</div></div><div><br></div><div>This does not affect the chart at all as it keeps showing the default colours.</div><div><br></div><div>What am I missing?</div><div><br></div><div>Best Regards,</div><div>Jose</div>]]>
   </description>
   <pubDate>Sat, 25 Feb 2012 14:00:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19520&amp;PID=67690&amp;title=solved-chart-how-to-load-a-custom-pallete#67690</guid>
  </item> 
 </channel>
</rss>