This is a migrated thread and some comments may be shown as answers.

[Solved] Area

2 Answers 88 Views
Chart for XAML
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Neil
Top achievements
Rank 1
Neil asked on 31 Oct 2012, 10:35 AM
I have a line graph that is working great but I want to shade and area at the bottom of the graph which signifies a target.

I've tried an area series and the scale appears and the label but I cannot see it.  What am I missing?

I assume it is something trivial.
Thanks
<Chart:AreaSeries ItemsSource="{Binding AreaGraph}">
    <Chart:AreaSeries.ValueBinding>
        <Chart:PropertyNameDataPointBinding PropertyName="Target"/>
    </Chart:AreaSeries.ValueBinding>
    <Chart:AreaSeries.CategoryBinding>
        <Chart:PropertyNameDataPointBinding PropertyName="TargetName"/>
    </Chart:AreaSeries.CategoryBinding>
</Chart:AreaSeries>

2 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 02 Nov 2012, 03:42 PM
Hello Neil,

Thank you for contacting us.

If I understand you correctly, you need to add both area and line series to one chart in order to visualize the difference between target values and real ones. Since the snippet you've shared seems to be OK, I am sending you attached a small demo project you can use as a template.

I hope this is helpful. Let me know if I can assist you further.

All the best,
Pavlina
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Neil
Top achievements
Rank 1
answered on 02 Nov 2012, 04:46 PM
Thank you.  I'll take a look.

Neil
Tags
Chart for XAML
Asked by
Neil
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Neil
Top achievements
Rank 1
Share this question
or