I have the following xml file , to which i am trying to update the pointer value node and maxvalue attribute in the color range node, but i am facing some problem with the syntax to update the maxvalue atrribute node
Xml File
<chart editmode="1" bgColor="transparent" borderColor="transparent" chartTopMargin="0" showTickMarks="1"
showTickValues="1" chartBottomMargin="0" upperLimit="200" lowerLimit="0"
gaugeFillRatio="50,50"
dataStreamURL='Sample.aspx' refreshInterval='3' useSameFillColor="0">
<colorRange>
<color id="ColorId" minValue="0" maxValue="19" code="5C8F0E" borderColor="5C8F0E" />
<color minValue="0" maxValue="200" code="383838" />
</colorRange>
<pointers>
<pointer id='Id' value='92' />
</pointers>
<styles>
<definition>
<style name="limitFont" type="Font" bold="1" />
<style name="labelFont" type="Font" bold="1" size="10" color="FFFFFF" />
</definition>
<application>
<apply toObject="GAUGELABELS" styles="labelFont" />
<apply toObject="LIMITVALUES" styles="limitFont" />
</application>
</styles>
</chart>
Sample.aspx file which returns the value for xml file
protected void Page_Load(object sender, EventArgs e)
{
int Count = GetCount();
int ColorCount = GetColorCount();
Response.Write("&Id=" + Count + "&ColorId=" + ColorCount );
}