Sign in to follow this  
rvolcov

Alerts Error In Real Time For Gauges.

Recommended Posts

Hi!!!

 

I'm using the real time in gauge, but it's not running correct.

When I put the value 45 [range 0 to 100] the annotation don't run.

I tested with JS and the alert run correctly... only annotations don't work fine.

 

Thanks!!! =D

 

 

 

<alerts>

<alert minValue='0' maxValue='50' action='showAnnotation' param='statusRed' occurOnce='0'/>

<alert minValue='50' maxValue='85' action='showAnnotation' param='statusYellow' occurOnce='0'/>

<alert minValue='85' maxValue='100' action='showAnnotation' param='statusGreen' occurOnce='0'/>

</alerts>

 

 

<annotations>

<annotationGroup xPos='150' yPos='150' showBelow='1' origW='300' origH='300' autoScale='1' scaleText='1' id='statusRed'>

<annotation type='circle' xPos='0' yPos='0' radius='130' startAngle='0' endAngle='360' fillColor='CCCCCC,555555' fillPattern='linear' fillAlpha='100,100' fillRatio='50,50' fillAngle='-45'/>

<annotation type='circle' xPos='0' yPos='0' radius='120' startAngle='0' endAngle='360' fillColor='555555,cccccc' fillPattern='linear' fillAlpha='100,100' fillRatio='50,50' fillAngle='-45'/>

<annotation type='circle' xPos='0' yPos='0' radius='110' startAngle='0' endAngle='360' fillColor='fb4511,a21317' fillPattern='radial' fillAngle='270' fillRatio='50,50'/>

<annotation type='circle' xPos='0' yPos='0' radius='110' fillPattern='radial' fillColor='000000,000000' fillAlpha='0,50' fillRatio='85,15' fillAngle='270'/>

<annotation type='circle' xPos='0' yPos='-16' radius='90' fillPattern='linear' fillColor='000000,ffffff' fillAlpha='15,0' fillRatio='50,50' fillAngle='270'/>

</annotationGroup>

 

<annotationGroup xPos='150' yPos='150' showBelow='1' origW='300' origH='300' autoScale='1' scaleText='1' id='statusYellow'>

<annotation type='circle' xPos='0' yPos='0' radius='130' startAngle='0' endAngle='360' fillColor='CCCCCC,555555' fillPattern='linear' fillAlpha='100,100' fillRatio='50,50' fillAngle='-45'/>

<annotation type='circle' xPos='0' yPos='0' radius='120' startAngle='0' endAngle='360' fillColor='555555,cccccc' fillPattern='linear' fillAlpha='100,100' fillRatio='50,50' fillAngle='-45'/>

<annotation type='circle' xPos='0' yPos='0' radius='110' startAngle='0' endAngle='360' fillColor='ffff00,ffff00' fillPattern='radial' fillAngle='270' fillRatio='50,50'/>

<annotation type='circle' xPos='0' yPos='0' radius='110' fillPattern='radial' fillColor='000000,000000' fillAlpha='0,50' fillRatio='85,15' fillAngle='270'/>

<annotation type='circle' xPos='0' yPos='-16' radius='90' fillPattern='linear' fillColor='000000,ffffff' fillAlpha='15,0' fillRatio='50,50' fillAngle='270'/>

</annotationGroup>

 

<annotationGroup xPos='150' yPos='150' showBelow='1' origW='300' origH='300' autoScale='1' scaleText='1' id='statusGreen'>

<annotation type='circle' xPos='0' yPos='0' radius='130' startAngle='0' endAngle='360' fillColor='CCCCCC,555555' fillPattern='linear' fillAlpha='100,100' fillRatio='50,50' fillAngle='-45'/>

<annotation type='circle' xPos='0' yPos='0' radius='120' startAngle='0' endAngle='360' fillColor='555555,cccccc' fillPattern='linear' fillAlpha='100,100' fillRatio='50,50' fillAngle='-45'/>

<annotation type='circle' xPos='0' yPos='0' radius='110' startAngle='0' endAngle='360' fillColor='6aba8b,00733a' fillPattern='radial' fillAngle='270' fillRatio='50,50'/>

<annotation type='circle' xPos='0' yPos='0' radius='110' fillPattern='radial' fillColor='000000,000000' fillAlpha='0,50' fillRatio='85,15' fillAngle='270'/>

<annotation type='circle' xPos='0' yPos='-16' radius='90' fillPattern='linear' fillColor='000000,ffffff' fillAlpha='15,0' fillRatio='50,50' fillAngle='270'/>

</annotationGroup>

</annotations>

Share this post


Link to post
Share on other sites

Hi,

 

Welcome to FusionCharts Forum! :(

 

Please note the "Annotations" depends on the height and width of the chart in order to be displayed perfectly.

 

Please try to adjust the height and width of the chart in the HTML page to fix the annotations correctly.

 

You can also scale the annotations automatically using the attribute "constrainedScale", etc in the <annotations> element.

 

Please refer to the following link for further details on Auto Scaling.

http://www.fusioncharts.com/widgets/docs/Contents/Ann_AutoScale.html

 

Hope this helps. :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this