<?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 : [QUESTION] Legend colors</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Chart Control : [QUESTION] Legend colors]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 13 Apr 2026 04:14:29 +0000</pubDate>
  <lastBuildDate>Sat, 12 Mar 2011 12:28:19 +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=17947</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[[QUESTION] Legend colors : Hi Oleg, Additionally to method...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17947&amp;PID=63273&amp;title=question-legend-colors#63273</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 17947<br /><strong>Posted:</strong> 12 March 2011 at 12:28pm<br /><br /><P>Hi Oleg,</P><P>Additionally to method for calculating color it would be nice to have:</P><UL><LI><EM>method</EM> FindPoint(<strong>I</strong>n<strong>D</strong>ex or <FONT color=#0000ff>as </FONT>SeriesPoint) <LI>In addition to previous request, Point should return&nbsp;<EM>Index</EM> <LI>Color2 as <EM>property</EM> to assign <strong>custom</strong> color to point (now only one color can be assigned...) Maybe this isn't necessary depending on method calculating colors from <strong>one</strong> color...&nbsp;</LI></UL><DIV></DIV>Thanks a lot in advance <DIV></DIV>]]>
   </description>
   <pubDate>Sat, 12 Mar 2011 12:28:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17947&amp;PID=63273&amp;title=question-legend-colors#63273</guid>
  </item> 
  <item>
   <title><![CDATA[[QUESTION] Legend colors : Hi Oleg, Thanks a lot  I was...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17947&amp;PID=62976&amp;title=question-legend-colors#62976</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 17947<br /><strong>Posted:</strong> 25 February 2011 at 7:04am<br /><br /><P>Hi Oleg,</P><P>Thanks a lot <img src="http://forum.codejock.com/smileys/smiley2.gif" height="17" width="17" border="0" alt="Wink" title="Wink" /></P><DIV>I was fiddling around to get the different legend styles rendered with Markup. To my surprise it looks same way as you have already in Legend. Does that mean you use Markup to render Legend as well? If so, why can't we have a scrollbar in Legend... you could easely add&nbsp;ScrollViewer to it and have&nbsp;a property we could set if&nbsp;scrollbars are needed when the list gets to long and&nbsp;I wouldn't have to fiddle anymore <img src="http://forum.codejock.com/smileys/smiley36.gif" height="17" width="17" border="0" alt="LOL" title="LOL" /></DIV><DIV>&nbsp;</DIV><DIV>Thanks a lot</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 25 Feb 2011 07:04:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17947&amp;PID=62976&amp;title=question-legend-colors#62976</guid>
  </item> 
  <item>
   <title><![CDATA[[QUESTION] Legend colors : Hi,Its calculated from Color -...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17947&amp;PID=62939&amp;title=question-legend-colors#62939</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 17947<br /><strong>Posted:</strong> 24 February 2011 at 1:16am<br /><br />Hi,<div><br></div><div>Its calculated from Color - we convert to HSL, decrease Light and convert back to RGB. &nbsp;Will add some tool method for it.</div>]]>
   </description>
   <pubDate>Thu, 24 Feb 2011 01:16:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17947&amp;PID=62939&amp;title=question-legend-colors#62939</guid>
  </item> 
  <item>
   <title><![CDATA[[QUESTION] Legend colors : Hi,   Sometimes I have a large...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17947&amp;PID=62925&amp;title=question-legend-colors#62925</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 17947<br /><strong>Posted:</strong> 23 February 2011 at 2:39pm<br /><br />Hi, <DIV>&nbsp;</DIV><DIV>Sometimes I have a large number of points added to a serie and it doesn't look so great when having a legend that big.&nbsp;Of course I'm able to rearrange legend but if it contains a lot of items, the chart will be rendered in (a too) small area and (for example) the pie gets too small&nbsp;and you aren't able&nbsp;to figure out&nbsp;its content. <FONT color=#009900><FONT color=#000000>To get around this I'm trying to implement a custom <strong>scrollable </strong>legend</FONT>.</FONT> </DIV><DIV>&nbsp;</DIV><DIV>I have two controls which I can use for this: ReportControl and PropertyGridControl <img src="http://forum.codejock.com/smileys/smiley2.gif" height="17" width="17" border="0" alt="Wink" title="Wink" />&nbsp;The one on the left is&nbsp;PropertyGrid and on the right is ReportControl (See image below)&nbsp;Both controls need Markup to render the colors, these colors are already present in ChartControl class &lt;Palette&gt;&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Properties &lt;Color&gt; and &lt;Color2&gt; are used to create gradient square but if you look at the original legend, the square has a border which is darker. <FONT color=#0000ff><strong>Question: <FONT color=#000000>How to get that color? </FONT></strong></FONT></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV><img src="http://forum.codejock.com/uploads/3701/ChartLegendTest.bmp" height="319" width="815" border="0" /></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>For&nbsp;now I just&nbsp;want to implement squares because Markup isn't still my best&nbsp;quality <img src="http://forum.codejock.com/smileys/smiley36.gif" height="17" width="17" border="0" alt="LOL" title="LOL" />&nbsp;but maybe I will add some of the CJ legend 'styles'</DIV><DIV>&nbsp;</DIV><DIV>Thanks a lot in advance</DIV>]]>
   </description>
   <pubDate>Wed, 23 Feb 2011 14:39:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17947&amp;PID=62925&amp;title=question-legend-colors#62925</guid>
  </item> 
 </channel>
</rss>