Step 3 of 3: Format the Axes

In this step, you will add a ChartView object so you can customize the X-Axis.

To format the axes for Chart for Silverligh programmatically in the code behind file

Add the following code in the Public MainPage() class to format the chart axes:

      Visual Basic

      C#

What You've Accomplished

You have successfully formatted the Chart Axes so when you run your application the new format for the axis annotation is applied to the chart.

 

 

Congratulations! You've completed the Chart for Windows Phone quick start and created a chart application, added data to the chart, set the axes bounds, formatted the axes annotation, and customized the appearance of the chart.


Send us comments about this topic.
Copyright © GrapeCity, inc. All rights reserved.