locked
Multiple level X-axis possible? RRS feed

  • Question

  • Hi,

    Is this possible with the charting control?

    http://dl.dropbox.com/u/16420566/sampleChart.png

     

    The data in the database is in the following format:

    Name| Status | Count

    Filiep | OK | 0

    Filiep | Busy | 1

    Filiep | Waiting | 2

    Peter | OK | 1

    Peter | Busy | 2

    Peter | Waiting | 5

    Michiel | OK | 2

    Michiel | Busy | 4

    Michiel | Waiting | 1  

     

    Any help is much appreciated.

    Greetz,

    Peter

    Friday, January 21, 2011 1:25 PM

Answers

  • Yes. with custom labels!

    Chart1.ChartAreas["Area1"].AxisX.CustomLabels.Add(custLableFrom, custLabelTo, lblText, 1, LabelMarkStyle.LineSideMark);
    

    For more details, See custom labels under the web sample environment

    http://code.msdn.microsoft.com/mschart

    Kit.

    • Marked as answer by pproost Friday, August 26, 2011 1:49 PM
    Friday, January 21, 2011 8:25 PM