Jump to content
Software FX Community

Using ReadXML to load chart data


User (Legacy)

Recommended Posts

Hi,

I'm using ReadXML method to load chart data. However, my first column data

is not shown on x-axis but it shown inside of chart. How can I assign first

column to x-axis?

Below is XML file that I use:

<countrylist>

<country>

<name>Mexico</name>

<minutes>53</minutes>

</country>

<country>

<name>Puerto-Rico</name>

<minutes>57</minutes>

</country>

<country>

<name>USA</name>

<minutes>71</minutes>

</country>

</countrylist>

Thank you,

Victor

Link to comment
Share on other sites

Hi,

I'm using ReadXML method to load chart data. However, my first column data

is not shown on x-axis but it shown inside of chart. How can I assign first

column to x-axis?

Below is XML file that I use:

<countrylist>

<country>

<name>Mexico</name>

<minutes>53</minutes>

</country>

<country>

<name>Puerto-Rico</name>

<minutes>57</minutes>

</country>

<country>

<name>USA</name>

<minutes>71</minutes>

</country>

</countrylist>

Thank you,

Victor

Link to comment
Share on other sites

Never mind.

The answer is :

chart1.DataType[0] = DataType.Label;

"Victor" <victorr@nvbb.net> wrote in message

news:doOA8VWFDHA.1896@webserver1.softwarefx.com...

> Hi,

>

> I'm using ReadXML method to load chart data. However, my first column data

> is not shown on x-axis but it shown inside of chart. How can I assign

first

> column to x-axis?

>

> Below is XML file that I use:

> <countrylist>

> <country>

> <name>Mexico</name>

> <minutes>53</minutes>

> </country>

> <country>

> <name>Puerto-Rico</name>

> <minutes>57</minutes>

> </country>

> <country>

> <name>USA</name>

> <minutes>71</minutes>

> </country>

> </countrylist>

>

>

> Thank you,

> Victor

>

>

>

>

>

Link to comment
Share on other sites

Never mind.

The answer is :

chart1.DataType[0] = DataType.Label;

"Victor" <victorr@nvbb.net> wrote in message

news:doOA8VWFDHA.1896@webserver1.softwarefx.com...

> Hi,

>

> I'm using ReadXML method to load chart data. However, my first column data

> is not shown on x-axis but it shown inside of chart. How can I assign

first

> column to x-axis?

>

> Below is XML file that I use:

> <countrylist>

> <country>

> <name>Mexico</name>

> <minutes>53</minutes>

> </country>

> <country>

> <name>Puerto-Rico</name>

> <minutes>57</minutes>

> </country>

> <country>

> <name>USA</name>

> <minutes>71</minutes>

> </country>

> </countrylist>

>

>

> Thank you,

> Victor

>

>

>

>

>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...