Skip to content

Instantly share code, notes, and snippets.

@wellercs
Created January 24, 2013 23:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wellercs/4629608 to your computer and use it in GitHub Desktop.
Save wellercs/4629608 to your computer and use it in GitHub Desktop.
<cfchart format="png" chartwidth="270" xaxistitle="Visits last 7 Days" show3d="no" foregroundcolor="##333333" showborder="no" fontbold="yes" tipStyle="none" url="" showLegend="true">
<cfchartseries type="line" query="chartData" itemcolumn="dateRange" valuecolumn="FLASHvisits" datalabelstyle="none" seriesLabel="FloorPlan">
<cfif chartData.showVTS><cfchartseries type="line" query="chartData" itemcolumn="dateRange" valuecolumn="VTSvisits" seriesColor="blue" datalabelstyle="none" seriesLabel="IDS"></cfif>
<cfif chartData.showMobile><cfchartseries type="line" query="chartData" itemcolumn="dateRange" valuecolumn="MOBILEvisits" seriesColor="red" datalabelstyle="none" seriesLabel="Mobile"></cfif>
</cfchart>
<!---
The line that the stack trace says it's erroring on is:
<cfif chartData.showMobile><cfchartseries type="line" query="chartData" itemcolumn="dateRange" valuecolumn="MOBILEvisits" seriesColor="red" datalabelstyle="none" seriesLabel="Mobile"></cfif>
--->
org.xml.sax.SAXParseException: Invalid color name: white at com.gp.xml.util.XmlHandler.throwSAXException(XmlHandler.java:279) at com.gp.xml.util.XmlHandler.setValue(XmlHandler.java:169) at com.gp.xml.util.XmlHandler.startElement(XmlHandler.java:85) at com.gp.xml.parser.XmlParser.parseXmlToken(XmlParser.java:202) at com.gp.xml.parser.XmlParser.parseToken(XmlParser.java:119) at com.gp.xml.parser.XmlParser.parse(XmlParser.java:92) at com.gp.xml.XmlReader.read(XmlReader.java:63) at com.gp.xml.XmlReader.read(XmlReader.java:55) at com.gp.api.styles.MxWidgetStyle.read(MxWidgetStyle.java:221) at com.gp.api.styles.MxWidgetStyle.read(MxWidgetStyle.java:210) at coldfusion.graph.Chart.getWebChartsStyleXml(Chart.java:183) at coldfusion.tagext.io.ChartTag._getGraphStyle(ChartTag.java:531) at coldfusion.tagext.io.ChartTag.getGraphStyle(ChartTag.java:452) at coldfusion.tagext.io.ChartTag.doEndTag(ChartTag.java:558)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment