HI All, I hope someone can help me here. I am trying to work my through the sales dashboard on the website and see how it all hangs together. I have probably got my head around 80% of it, but I can not work out how the chart on the stats page is driven. There is no data source or sql statement to the database and it is not driven my a xml file. I am just starting with the Telerik product but I am a sql developer and have done asp, so this one is pushing my knowledge. but bet it is a simple fix. Link to website is
http://demos.telerik.com/aspnet-ajax/salesdashboard/
The script I think it needs to be focused on is below, but I can not see how or where. Guru needed to guide
Script in question
<telerik:RadHtmlChart ID="RadHtmlChartOrdersPercent"
runat="server"
Width="700px"
Height="600px">
<Appearance>
<FillStyle
BackgroundColor="Black"></FillStyle>
</Appearance>
<ChartTitle
Text="Representative
Sales vs. Total Sales">
</ChartTitle>
<Legend>
<Appearance
Position="Top"
/>
</Legend>
<PlotArea>
<Appearance>
</Appearance>
<YAxis>
<MajorGridLines
Visible="true"></MajorGridLines>
<MinorGridLines
Visible="false"></MinorGridLines>
<LabelsAppearance
DataFormatString="{0:C0}">
</LabelsAppearance>
</YAxis>
<XAxis>
<MajorGridLines
Visible="false"
/>
<MinorGridLines
Visible="false"
/>
</XAxis>
<Series>
<telerik:BarSeries Name="Representative
Sales">
<Appearance>
<FillStyle
BackgroundColor="#b1c85a"></FillStyle>
</Appearance>
<LabelsAppearance
DataFormatString="{0:C0}">
</LabelsAppearance>
<TooltipsAppearance
BackgroundColor="#b1c85a"
ClientTemplate='Date:
#=category#<br/>Rep Sales hello: #= kendo.toString(value,
"C0")#'>
</TooltipsAppearance>
</telerik:BarSeries>
<telerik:BarSeries Name="Total
Sales">
<Appearance>
<FillStyle
BackgroundColor="#93d6d8"></FillStyle>
</Appearance>
<LabelsAppearance
DataFormatString="{0:C0}">
</LabelsAppearance>
<TooltipsAppearance
BackgroundColor="#93d6d8"
ClientTemplate='Date:
#=category#<br/>Total Sales: #= kendo.toString(value,
"C0")#'>
</TooltipsAppearance>
</telerik:BarSeries>
</Series>
</PlotArea>
</telerik:RadHtmlChart>
http://demos.telerik.com/aspnet-ajax/salesdashboard/
The script I think it needs to be focused on is below, but I can not see how or where. Guru needed to guide
Script in question
<telerik:RadHtmlChart ID="RadHtmlChartOrdersPercent"
runat="server"
Width="700px"
Height="600px">
<Appearance>
<FillStyle
BackgroundColor="Black"></FillStyle>
</Appearance>
<ChartTitle
Text="Representative
Sales vs. Total Sales">
</ChartTitle>
<Legend>
<Appearance
Position="Top"
/>
</Legend>
<PlotArea>
<Appearance>
</Appearance>
<YAxis>
<MajorGridLines
Visible="true"></MajorGridLines>
<MinorGridLines
Visible="false"></MinorGridLines>
<LabelsAppearance
DataFormatString="{0:C0}">
</LabelsAppearance>
</YAxis>
<XAxis>
<MajorGridLines
Visible="false"
/>
<MinorGridLines
Visible="false"
/>
</XAxis>
<Series>
<telerik:BarSeries Name="Representative
Sales">
<Appearance>
<FillStyle
BackgroundColor="#b1c85a"></FillStyle>
</Appearance>
<LabelsAppearance
DataFormatString="{0:C0}">
</LabelsAppearance>
<TooltipsAppearance
BackgroundColor="#b1c85a"
ClientTemplate='Date:
#=category#<br/>Rep Sales hello: #= kendo.toString(value,
"C0")#'>
</TooltipsAppearance>
</telerik:BarSeries>
<telerik:BarSeries Name="Total
Sales">
<Appearance>
<FillStyle
BackgroundColor="#93d6d8"></FillStyle>
</Appearance>
<LabelsAppearance
DataFormatString="{0:C0}">
</LabelsAppearance>
<TooltipsAppearance
BackgroundColor="#93d6d8"
ClientTemplate='Date:
#=category#<br/>Total Sales: #= kendo.toString(value,
"C0")#'>
</TooltipsAppearance>
</telerik:BarSeries>
</Series>
</PlotArea>
</telerik:RadHtmlChart>