fluoronator Report post Posted May 1, 2015 I'm trying to display a piece of text on an MSLine chart using an annotation. Here's my XML... <annotations> <annotationgroup> <annotation id='MyText' type='text' fillcolor='#ffffff' fontsize='50' x='10' y='10' text='This is my sample text' /> </annotationgroup> </annotations> I can't seem to get it to display on the chart. What have I done wrong? Below is my complete chart XML. It works except for the annotation text. <chart> bgcolor='#000000' bgalpha='100' showborder='0' tooltipbgcolor='#333333' showvalues='0' showLabels='0' forceYAxisValueDecimals='1' YAxisValueDecimals='2' adjustDiv='0' numdivlines='9' yAxisMinValue='1.50' yAxisMaxValue='2.50' LegendBgColor='#000000' basefontcolor='#FFFFFF' showAlternateHGridColor='0' canvasBgColor='020202,777777,020202' canvasBgAlpha='100'> <trendlines> <line startvalue='1.50' endValue='1.83' color='B1FFB1' isTrendZone='1' showOnTop='0' alpha='15' valueOnRight='1' displayvalue=' ' /> <line startvalue='1.83' endValue='1.85' color='F6F164' isTrendZone='1' showOnTop='0' alpha='15' valueOnRight='1' displayvalue=' ' /> <line startvalue='1.85' endValue='2.50' color='F70118' isTrendZone='1' showOnTop='0' alpha='15' valueOnRight='1' displayvalue=' ' /> </trendlines> <categories> <category label='3/31/2015' /> <category label='4/1/2015' /> <category label='4/2/2015' /> <category label='4/3/2015' /> <category label='4/4/2015' /> <category label='4/5/2015' /> <category label='4/6/2015' /> <category label='4/7/2015' /> <category label='4/8/2015' /> <category label='4/9/2015' /> </categories> <dataset seriesname='Daily' > <set value='1.913' /> <set value='1.76304' /> <set value='1.72354' /> <set value='1.99839' /> <set value='1.89005' /> <set value='1.67417' /> <set value='1.71277' /> <set value='1.86934' /> <set value='1.87298' /> <set value='1.82006' /> </dataset> <dataset seriesname='Month-to-Date'> <set value='1.81756' /> <set value='1.76304' /> <set value='1.74235' /> <set value='1.82372' /> <set value='1.8406' /> <set value='1.80302' /> <set value='1.78813' /> <set value='1.79906' /> <set value='1.80849' /> <set value='1.80986' /> </dataset> <annotations> <annotationgroup> <annotation id='MyText' type='text' fillcolor='#ffffff' fontsize='50' x='10' y='10' text='This is my sample text' /> </annotationgroup> </annotations> </chart> Share this post Link to post Share on other sites
Moonmi Sonowal Report post Posted May 5, 2015 Hi, Could you please try changing the text color to something visible? We are sharing the same data shared from your end by changing the annotation text color to black. Fiddle: http://jsfiddle.net/moonmi/hrjgnoqv/ Hope this will resolve your issue. Share this post Link to post Share on other sites