<
telerikChart:RadChart x:Name="RadChart2" Background="Transparent" UseDefaultLayout="False" Grid.Row="1">
<telerikCharting:ChartArea x:Name="webChartHPI"
Margin="0,0,0,1"
HorizontalAlignment="Stretch"
VerticalAlignment="Top"
FontFamily="Calibri"
FontSize="10"
>
</telerikCharting:ChartArea>
</telerikChart:RadChart>
and my code says ( for each individual series):
foreach
(xxx.myclass sr in e.Result)
{
DataPoint dataPoint = new DataPoint();
dataPoint.XValue =
Convert.ToDouble(sr.Year);
dataPoint.YValue =
Convert.ToDouble(sr.Percent);
mySeries.Add(dataPoint);
}
mySeries.Definition =
new LineSeriesDefinition();
mySeries.Definition.ShowItemLabels =
false;
mySeries.Definition.Appearance.Stroke = (
new SolidColorBrush(Color.FromArgb(255, 252, 237, 64))) as Brush;
mySeries.Definition.Appearance.Fill = (
new SolidColorBrush(Color.FromArgb(255, 252, 237, 64))) as Brush;
mySeries.LegendLabel =
"CBSA Level HPI";
webChartHPI.DataSeries.Add(mySeries);
All series have 349 records with the same X axis but the Y axis varies
2. I am not able to display Legends. Do i have to put <telerikcharting: legends > separately to achive this? Also i want the legend to display on the top left of the chart like in excel but not able to do so.
3. My third problem is i am not able to display negative values in a line series. This chart is completely different from that mentioned in 1. It has some 200 values having both +ve and -ve values for Y axis. But it is not displaying the -ve region. The chart was not even displaying and was hanging my machine. But when i put
loanChartControl.AxisY.AutoRange =
false;
it started displaying but then again i think this stopped it from displaying the -ve axis.
4. My final problem is with the chart size. I cannot shrink the size of the chart. It is taking the entire cell space. Also does the values displayed in the x axis depend on the space it gets ? I am not able to reduce the line series thickness as well.
The version i am using is 2009.2.812.1030 for Telerik.Windows.Controls.Charting.
Please help me asap.
divSearch.Style[
"display"] = "block"; and i also tried
divSearch.Visible=true;

i am using a tabstrip, some tabs of which are inintially disabled via markup code:
<Tabs>
<telerik:RadTab Text="Arrangement" Value="Arrangement" />
<telerik:RadTab Text="Specials" Value="Specials" Enabled="false" />
<telerik:RadTab Text="Monthly Commitments" Enabled="false" Value="MonthlyCommitments" />
</Tabs>
i then have client code that enables the tabs based on certain client-side events like so:
function SelectSpecialsTab() {
Page_ClientValidate();
if (Page_IsValid) {
var Tab = GetTab("Specials");
Tab.enable();
Tab.click();
}
return false;
}
this works fine. however, everytime the server is hit via postback or ajaxmanager request client code (.ajaxRequest(string), for example), the tabs revert back to their initial enabled property settings, disabled in this case.
i've even tried taking the enabled = "false" property out of the markup and setting it in the codebehind in a !ispostback block, but it still disables the tabs. when i take the enabled = "false" logic out completely from the markup and codebehind, the tabs stay enabled.
any idea on how to keep this from happening?