or
<Setter Property="Template" > <Setter.Value> <ControlTemplate TargetType="telerikCharting:Bar"> <Rectangle x:Name="PART_DefiningGeometry" Height="{TemplateBinding ItemActualHeight}" Width="{TemplateBinding ItemActualWidth}" Style="{TemplateBinding ItemStyle}" Fill="Red"> </Rectangle> </ControlTemplate> </Setter.Value> </Setter>
var totalColumnAggregate = new AggregateFunction<DataRow, int?>{ AggregationExpression = target => target .AsQueryable() .Select("new(it[\"Foo\"] AS Foo)") .Cast<int?>() .Sum()};.Select("new(it[\"Foo\"] AS Foo) + new(it[\"Bar\"] AS Bar) + new(it[\"FooBar\"] AS FooBar)")
<DataTemplate
x:Key="DragTemplate">
</DataTemplate>
Thoughts?
I'll add a screen shot if I figure out how to do that..
<chart:ChartArea Grid.Row="1" x:Name="mainChartArea" LegendName="legend"> <chart:ChartArea.AxisX > <chart:AxisX MajorGridLinesVisibility="Collapsed" IsDateTime="True" DefaultLabelFormat = "dd-MMM" Title="Date" MinorTickPointMultiplier="0" AutoRange="False" MajorTicksVisibility="Visible" AxisLabelsVisibility="Visible" MinorTicksVisibility="Hidden" /> </chart:ChartArea.AxisX></chart:ChartArea>