How do SORT the elements on the X axis?

G

Gemon

How do SORT the elements on the X axis?

This is my source code:

set m_cspace = Server.CreateObject("OWC10.ChartSpace")
set c = m_cspace.Constants
set m_cspace.DataSource = objRecordset
set cht = m_cspace.charts(0)
cht.Type = 0
m_cspace.SetData c.chDimSeriesNames, 0, "field_1"
m_cspace.SetData c.chDimCategories, 0, "field_2"
m_cspace.SetData c.chDimValues, 0, "field_3"


By default the sort is field_2 alphabetically, but i wan't change it.

Sorry my english! I'm italian. :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top