Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CFCHART Highlight Y Axis Value

Status
Not open for further replies.

mdmatt

Technical User
Dec 17, 2007
19
0
0
US
I have a cfchart that represents mileage per day over time. I would like to be able to have our daily goal value highlighted across the chart. The y-axis scales from 0-60, I would like to have a bold line at the 32 value. This will allow us to quickly view what days we are over/below our goal.

CODE BELOW:
--------
<cfchart chartheight="300" chartwidth="800" scaleto="60" showxgridlines="no" showborder="yes" xaxistitle="DATE" yaxistitle="MILES" show3d="no" showlegend="NO" style="dtcharts.xml" format="jpg" >

<cfchartseries type="curve" query="rsDays" itemcolumn="RatingDate" valuecolumn="miles" seriescolor="##008800" paintstyle="plain" markerstyle="diamond" >

</cfchartseries>

</cfchart>
--------------------
dtcharts.xml ---
<frameChart is3D="false">
<frame xDepth="10" yDepth="10" outline="black" leftAxisPlacement="Back" isHStripVisible="true">
<background minColor="#dbdcd5"/>
</frame>
<xAxis>
<labelFormat pattern="#,##0.###"/>
<parseFormat pattern="#,##0.###"/>
<labelStyle isHideOverlapped="true" orientation="SLANTED"/>
</xAxis>
<yAxis scaleMin="0" >
<labelFormat pattern="#,##0.###"/>
<parseFormat pattern="#,##0.###"/>
</yAxis>
<legend>
<decoration style="None"/>
</legend>
<elements place="Default" shape="Area" drawShadow="true" shapeSize="50">
<morph morph="Grow"/>
</elements>
<dataLabels style="Value" extraLines="1" autoControl="true"/>
<paint palette="Pastel" isVertical="true"/>



</frameChart>

Thank you for any assistance you can provide,
Matt

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top