<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://communities.bentley.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Formatting a fixed curve on graph (colour, type, fill) with an expression</title><link>https://communities.bentley.com/products/geotechnical1/f/geotechnical-forum/72624/formatting-a-fixed-curve-on-graph-colour-type-fill-with-an-expression</link><description>Hi all, I&amp;#39;m trying to add various granular specification envelopes to a grain size graph. However, I now want to see multiple specs on one graph, and I need them to have a different colour/fill. Here&amp;#39;s my workflow: 
 - user specifies granular specs in</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>Re: Formatting a fixed curve on graph (colour, type, fill) with an expression</title><link>https://communities.bentley.com/thread/193086?ContentTypeID=1</link><pubDate>Fri, 09 Dec 2011 20:49:00 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:67097c8c-984a-4a12-afcf-ef7032bbe13a</guid><dc:creator>Phil Wade</dc:creator><description>&lt;p&gt;Hi Michael&lt;/p&gt;
&lt;p&gt;You have two options:&lt;/p&gt;
&lt;p&gt;Graph Properties | Data Representation | Curve from equation&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;a. Make ItemKey tables in your project database to store the PSD specification requirements&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;b. In Curve Expression enter code like this &amp;lt;&amp;lt;IndDepList&amp;gt;&amp;gt;x1,y1;x2,y2;xn,yn&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;c. Set the properties for line color, thickness, type, and use the special variables &amp;lt;&amp;lt;Let(DMKName = X)&amp;gt;&amp;gt; &amp;lt;&amp;lt;Let(DMKColor = X)&amp;gt;&amp;gt;, &amp;lt;&amp;lt;Let(DMKHt = X)&amp;gt;&amp;gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;d. see page 24 of this doc for an example of its use &lt;a href="http://www.datgel.com/images/DatgelOutputTool/DOT2_All_Reports.pdf" rel="nofollow" target="_new"&gt;www.datgel.com/.../DOT2_All_Reports.pdf&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This is how the Datgel Lab and In Situ Tool handles it. I prefer to store specification data in the project file since they can differ between projects.&lt;/p&gt;
&lt;p&gt;Graph Properties | Data Representation | Gradation Specification Expression&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;a. Define the specifications in SYMBOLS | Gradations Spec, including diameter and % passing min and max, line and data marker symbology&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;b. I haven&amp;#39;t used this feature because I think the data should be in the project.&lt;/p&gt;
&lt;p&gt;=======&lt;/p&gt;
&lt;p&gt;Michael Diez de Aux, P.Eng.&lt;/p&gt;
&lt;p&gt;I was hoping you&amp;#39;d respond to this Phil :) I see that Curves from Equations is much more powerful for customizing lines.&lt;/p&gt;
&lt;p&gt;But, how can I make it easy to see any or all of these specs? My Big Idea is that we have one grain size plot, and I could use report variables to specify one or several gradation specs to appear alongside. This approach has the advantage of comparing several different specs simultaneously (e.g. OPSS Gran B and Gran B Type II). If I&amp;#39;m reading your approach correctly, I&amp;#39;m still just showing one spec. Right?&lt;/p&gt;
&lt;p&gt;I disagree with you that PSD specs should be in the project, if they are regulatory standard specs used generally in local construction practice. If they&amp;#39;re standard why not just toss them in the library? You&amp;#39;d have a point if they were project-specific specs (for example, for a specific native soil to be reused as an engineered fill pad). Based on that, I might try the new Gradation Specification Expression functionality.&lt;/p&gt;
&lt;p&gt;=======&lt;/p&gt;
&lt;p&gt;Phil Wade&lt;/p&gt;
&lt;p&gt;You can add multiple Curve Expressions, hence you can make multiple spec lines.&lt;/p&gt;
&lt;p&gt;I can appreciate if you always work with one standard or set of requirements it could be reasonable to put the data in a library. But my experience on reclamation projects is each project has a difference set of requirements. Also, seeing library tables can&amp;#39;t have relationships and can&amp;#39;t have split screens the project database has some advantages.&lt;/p&gt;
&lt;p&gt;I have also developed gINT Rules code that calculates if each sieve reading falls within a requirement envelope, and hence can define if each PSD test passes of fails a requirement.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>