<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.5pt;
        font-family:Consolas;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:Consolas;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-NZ link=blue vlink=purple>
<div class=Section1>
<p class=MsoPlainText>Good day all.<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>I am doing a forecasting graph. What i would like to put
in the graph is the date when the forecast breaches to 85% and 90% threshold.<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>Here is some of my code<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>Thanx<o:p></o:p></p>
<p class=MsoPlainText>Brian<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>DEF:mx1=$a:cpu:AVERAGE:start=now-8w:end=now \<o:p></o:p></p>
<p class=MsoPlainText>
DEF:data2=$a:cpu:AVERAGE:start=now-8w:end=now+1m \<o:p></o:p></p>
<p class=MsoPlainText>
DEF:usd2=$a:cpu:AVERAGE:start=now-4w:end=now+2w \<o:p></o:p></p>
<p class=MsoPlainText>
DEF:usd3=$a:cpu:AVERAGE:start=now-6w:end=now+3w \<o:p></o:p></p>
<p class=MsoPlainText> DEF:data3=$a:cpu:AVERAGE \<o:p></o:p></p>
<p class=MsoPlainText> VDEF:D=data2,LSLSLOPE \<o:p></o:p></p>
<p class=MsoPlainText> VDEF:H=data2,LSLINT \<o:p></o:p></p>
<p class=MsoPlainText> VDEF:D2=usd2,LSLSLOPE \<o:p></o:p></p>
<p class=MsoPlainText> VDEF:H2=usd2,LSLINT \<o:p></o:p></p>
<p class=MsoPlainText> VDEF:D3=usd3,LSLSLOPE \<o:p></o:p></p>
<p class=MsoPlainText> VDEF:H3=usd3,LSLINT \<o:p></o:p></p>
<p class=MsoPlainText> CDEF:projection=data2,POP,D,COUNT,*,H,+ \<o:p></o:p></p>
<p class=MsoPlainText>
CDEF:result=projection,100,GT,100,projection,IF \<o:p></o:p></p>
<p class=MsoPlainText> CDEF:resulta=result,0,LT,0,result,IF \<o:p></o:p></p>
<p class=MsoPlainText> CDEF:projection2=usd2,POP,D2,COUNT,*,H2,+
\<o:p></o:p></p>
<p class=MsoPlainText> CDEF:result2=projection2,100,GT,100,projection2,IF
\<o:p></o:p></p>
<p class=MsoPlainText> CDEF:result2a=result2,0,LT,0,result2,IF \<o:p></o:p></p>
<p class=MsoPlainText> CDEF:projection3=usd3,POP,D3,COUNT,*,H3,+
\<o:p></o:p></p>
<p class=MsoPlainText>
CDEF:result3=projection3,100,GT,100,projection3,IF \<o:p></o:p></p>
<p class=MsoPlainText> CDEF:result3a=result3,0,LT,0,result3,IF \<o:p></o:p></p>
<p class=MsoPlainText> COMMENT:"Projection \n" \<o:p></o:p></p>
<p class=MsoPlainText>
COMMENT:"--------------------------------------------------------------------------------------------
\n" \<o:p></o:p></p>
<p class=MsoPlainText> LINE1:resulta#FF0000:"1 Month
Forcast From $str1 to $str2" \<o:p></o:p></p>
<p class=MsoPlainText> GPRINT:resulta:LAST:"Final Value of
\:%3.1lf%% \n" \<o:p></o:p></p>
<p class=MsoPlainText> LINE1:result3a#00FF00:"3 Weeks
Forcast From $str3 to $str4" \<o:p></o:p></p>
<p class=MsoPlainText> GPRINT:result3a:LAST:"Final Value of
\:%3.1lf%% \n" \<o:p></o:p></p>
<p class=MsoPlainText> LINE1:result2a#0000FF:"2 Weeks
Forcast From $str5 to $str6" \<o:p></o:p></p>
<p class=MsoPlainText> GPRINT:result2a:LAST:"Final Value of
\:%3.1lf%% \n" \<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>