xml - CFChart Lower Limit Issue -
Working in ColdFusion and trying to run this chart and I have gone into a strange bug.
I'm not sure how or why, but the low-axis range of zero is being set to -1000 instead of zero. None of my data below is below 0. In the picture I have it set to seriesplacement = stacked
. But it was just to test. Otherwise here's my code.
& lt; Cfchart title = "# variableables.ReportName # Ordered transplantation" style = "../SO_R_overall.xml" format = "PNG" paisley style = "solid" show 3D = "no" showBorder = "yes" showLegend = " Yes "tipStyle =" mouseover "chartHeight =" #definedChartHeight # "chartWidth =" #definedChartWidth # "font =" arial "fontsize =" 12 "font ball =" yes "scaleFrom =" 0 "& gt; & Lt; Cfchartseries type = "bar" series labels = "target" query = "getDivisionGoalsDivision" valueColumn = "divisiongoal" itemColumn = "division" dataal style = "value" series caller = "99 ccff" & gt; & Lt; / Cfchartseries & gt; & Lt; Cfchartseries type = "row" serieslabel = "ordered" query = "get-access" value column = "qty'ded" item column = "division" dataable style = "value" series color = "green" & gt; & Lt; / Cfchartseries & gt; ? & Gt; & Lt; Framechart is3D = "false" & gt; & Lt; Frame xDepth = "3" yDepth = "3" outline = "# 333333" light color = "white" left exescript = "front" right axis placement = "front" strip collar = "#ccccc" /> & Lt; XAxis scaleMin = "0" & gt; & Lt; LabelStyle ishide overlap = "false" orientation = "horizontal" /> & Lt; TitleStyle font = "Arial-10-Bold" is Multiline = "true" & gt; Division & lt; / TitleStyle & gt; & Lt; / XAxis & gt; & Lt; YAxis scaleMin = "0" & gt; & Lt; TitleStyle font = "Arial-10-bold" /> & Lt; DateTimeStyle key unit = "year" minorUnit = "month" /> & Lt; LabelFormat style = "pattern" pattern = "#, ## 0" /> & Lt; / YAxis & gt; & Lt; Data Labels font = "Arial-10" foreground = "black" autoControl = "true" /> & Lt; Story & gt; & Lt ;! [CDATA [$ (line label)]] & gt; & Lt; / Narrative & gt; & Lt; Element action = "" shape = "region" dropout = "false" & gt; & Lt; Morph morph = "grow" /> & Lt; / Elements & gt; & Lt; Decoration style = "golfshadow" /> & Lt; Popup background = "# C8FFFFFF" foreground = "# 333333" /> & Lt; Paint paint = "plane" /> & Lt; Insets left = "5" top = "5" right = "5" below = "5" />
Generated chart:
Eh! In XML line 2, I
& lt; FrameChart is3d = "false" & gt; Has changed.
to
& lt; Framechart is3D = "false" autoAdjust = "false" & gt;
Update : See the comments below for references and explanations.
Comments
Post a Comment