Hi there
I want to set MaxValue and MinValue for YAxis. But after doing that and setting AutoScale to "false" i'm running my page, webdevelopment server starts eating memory (100... 140... 180... 200mb... -> ), cpu near the 50% and... nothing happens.
But when i switch AutoScale to "true" - everything shows perfectly. See the sample code below.
I want to set MaxValue and MinValue for YAxis. But after doing that and setting AutoScale to "false" i'm running my page, webdevelopment server starts eating memory (100... 140... 180... 200mb... -> ), cpu near the 50% and... nothing happens.
But when i switch AutoScale to "true" - everything shows perfectly. See the sample code below.
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="_TEST2.aspx.cs" Inherits="CN._TEST2" %> |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> |
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Charting" tagprefix="telerik" %> |
<html xmlns="http://www.w3.org/1999/xhtml" > |
<head runat="server"> |
<title></title> |
</head> |
<body> |
<form id="form1" runat="server"> |
<div> |
<telerik:RadChart ID="RadChart1" runat="server" DataSourceID="SqlDataSource" Width="1000px" Visible="true" Height="250px" ChartTitle-Visible="false"> |
<Series> |
<telerik:ChartSeries Name="Value" DataYColumn="Value" > |
<Appearance LabelAppearance-Visible="false" Border-Width="1" Border-Color="Silver" FillStyle-MainColor="243, 206, 119" FillStyle-SecondColor="210, 157, 44" /> |
</telerik:ChartSeries> |
</Series> |
<PlotArea> |
<YAxis AutoScale="false" MaxValue="4000000" MinValue="-4000000" /> |
<Appearance Dimensions-Margins="20px, 130px, 60px, 130px" /> |
</PlotArea> |
<Legend Visible="false" /> |
</telerik:RadChart> |
<asp:SqlDataSource ID="SqlDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:CN %>" |
SelectCommand="SELECT 3500000 as 'Value' UNION SELECT -3000000 as 'Value' UNION SELECT 2500000 as 'Value' UNION SELECT -2000000 as 'Value'" |
SelectCommandType="Text" /> |
</div> |
</form> |
</body> |
</html> |