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

Parser Error Message: Unknown server tag 'telerik:ChartSeries'.

6 Answers 455 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
nickJr
Top achievements
Rank 1
nickJr asked on 28 Apr 2009, 09:41 PM

Line 95:             AutoLayout="true">   
Line 96:             <Series>   
Line 97:                 <telerik:ChartSeries Name="Series 1" > 
Line 98:                     <Appearance BarWidthPercent="100">   
Line 99:                     </Appearance>


I get the above error when I try the code in the website.

 


<
telerik:RadChart ID="RadChart1" runat="server" SeriesOrientation="Horizontal" Height="140"  AutoLayout="true">    <Series>

 

 

 

       <telerik:ChartSeries Name="Series 1" >

 

 

 

         <Appearance BarWidthPercent="100">

 

 

 

          </Appearance>

 

                <Items>

 

                    <telerik:ChartSeriesItem Name="Item 1" YValue="5">

         

           </telerik:ChartSeriesItem>

 

         

       </Items>

 

 

 

       </telerik:ChartSeries>

 

 

 

</Series>

 

 

 

 

 

<PlotArea> 

 

    <YAxis AutoScale="False" MaxValue="10" MinValue="0" Step="1">

     

<AxisLabel>

 

 

        <Appearance RotationAngle="0">

 

        </Appearance>

 

     </AxisLabel>

 

    </YAxis>

 

</PlotArea>

 

</telerik:RadChart>

Why is that? I have a registered version of telerik.
I have added following assemblies as well.

using

 

Telerik.Web.UI;

 

 

using 

 

Telerik.Web.Design;  

 

 

using 

 

Telerik.Charting;

 

 

 

Please advice ASAP.
thanks

6 Answers, 1 is accepted

Sort by
0
Dessy
Telerik team
answered on 01 May 2009, 10:38 AM

Hi  pra raj,

You need to add one additional register directive in order for the RadChart control to work correctly as the Telerik.Charting namespace contains some core charting classes:

<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Charting" tagprefix="telerik" %> 

Hope this helps.


All the best,

Dessy
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Rishi
Top achievements
Rank 1
answered on 20 Mar 2012, 03:23 PM
Hello,

      Above suggestions didn't work for me. Is there any other alternate to resolve it.
please see below my code:

Using

<%

 

@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

 

<%

 

@ Register assembly="Telerik.Web.UI" namespace="Telerik.Charting" tagprefix="telerik" %>

 

<%

 

@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.Design" tagprefix="telerik" %>

 

 

 

<asp:UpdatePanel ID="updCapacityDelay" runat="server" RenderMode="Inline">

 

 

 

    <ContentTemplate>

 

 

 

        <telerik:RadChart ID="RadCharts" runat="server" Skin="WebBlue" AutoLayout="true" Height="350px" Width="680px" SeriesOrientation="Horizontal">

 

 

 

            <Series>

 

 

 

                <telerik:ChartsSeries DataYColumn="RIID" Name="CapacityDelay">

 

 

 

                </telerik:ChartsSeries>

 

 

 

            </Series>

 

 

 

        </telerik:RadChart>

 

 

 

    </ContentTemplate>

 

 

 

</asp:UpdatePanel>

Please help!    

 

0
Giuseppe
Telerik team
answered on 20 Mar 2012, 05:03 PM
Hello Rishi,

The tag should be telerik:ChartSeries and not telerik:ChartsSeries.


All the best,
Giuseppe
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Rishi
Top achievements
Rank 1
answered on 03 Apr 2012, 05:16 PM
Thank you.

I have another issue with Radchart zoom in option. could help me out please?
I designed the radchart with below code and able to see the results from the database.

I would like to use the zoom in option on x and y axis at code behind. Am not having the properties to achive this requirement.
As I didn't use chart area on below code, am using zoom option on Plotarea, Thats way its not giving the option.

I don't want use this code (<ClientSettings EnableZoom="True" ScrollMode="Both"/>)due to some performance issues.

Please could you suggest How Could I design the radchart to get zoom option?


<

 

 

telerik:RadChart AutoLayout="True" Height="450px" ID="CapacityRadChart"

 

 

 

runat="server" Skin="WebBlue" Width="935px" OnClick="CapacityRadchartClick">

 

<%

 

--<ClientSettings EnableZoom="True" ScrollMode="Both"/>--%>

 

 

 

<Appearance>

 

 

 

<FillStyle MainColor="249, 250, 251">

 

 

 

</FillStyle>

 

 

 

<Border Color="160, 170, 182" />

 

 

 

</Appearance>

 

 

 

<Legend>

 

 

 

<Appearance Dimensions-Margins="1%, 1%, 1px, 1px"

 

 

 

Dimensions-Paddings="1px, 1px, 1px, 1px"

 

 

 

Position-AlignedPosition="Top">

 

 

 

<ItemTextAppearance TextProperties-Color="102, 102, 102">

 

 

 

</ItemTextAppearance>

 

 

 

<FillStyle MainColor="216, 222, 227">

 

 

 

</FillStyle>

 

 

 

<Border Color="160, 170, 182" />

 

 

 

</Appearance>

 

 

 

</Legend>

 

 

 

<PlotArea>

 

 

 

<YAxis AutoScale="True" AxisMode="Extended">

 

 

 

<Appearance>

 

 

 

<MajorGridLines Color="227, 227, 227" />

 

 

 

<MinorGridLines Color="227, 227, 227" />

 

 

 

<TextAppearance AutoTextWrap="False"/>

 

 

 

</Appearance>

 

 

 

<AxisLabel>

 

 

 

<TextBlock>

 

 

 

<Appearance TextProperties-Color="140, 140, 140" Position-AlignedPosition="TopLeft">

 

 

 

</Appearance>

 

 

 

</TextBlock>

 

 

 

</AxisLabel>

 

 

 

</YAxis>

 

 

 

<XAxis AutoScale="True" DataLabelsColumn="RIID's" MaxValue="0" Step="0">

 

 

 

<Appearance>

 

 

 

<MajorGridLines Color="227, 227, 227" Width="0" />

 

 

 

<TextAppearance AutoTextWrap="True" />

 

 

 

</Appearance>

 

 

 

<AxisLabel>

 

 

 

<TextBlock>

 

 

 

<Appearance TextProperties-Color="140, 140, 140" Position-AlignedPosition="BottomRight">

 

 

 

</Appearance>

 

 

 

</TextBlock>

 

 

 

</AxisLabel>

 

 

 

</XAxis>

 

 

 

<Appearance>

 

 

 

<FillStyle FillType="Solid" MainColor="">

 

 

 

</FillStyle>

 

 

 

</Appearance>

 

 

 

</PlotArea>

 

 

 

<ChartTitle>

 

 

 

<Appearance>

 

 

 

<FillStyle MainColor = "">

 

 

 

</FillStyle>

 

 

 

</Appearance>

 

 

 

<TextBlock Text="Capacity Delay" >

 

 

 

<Appearance TextProperties-Color="102, 102, 102"

 

 

 

TextProperties-Font="Arial, 7pt" Position-AlignedPosition="Bottom">

 

 

 

</Appearance>

 

 

 

</TextBlock>

 

 

 

</ChartTitle>

 

 

 

</telerik:RadChart>

 

0
Giuseppe
Telerik team
answered on 06 Apr 2012, 10:41 AM
Hello Rishi,

We are unsure what kind of solution design you are looking for but RadChart does not provide additional API for zooming / scrolling besides using ClientSettings.ScrollMode / EnableZoom.


Kind regards,
Giuseppe
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Rishi
Top achievements
Rank 1
answered on 06 Apr 2012, 02:32 PM
Tags
Chart (Obsolete)
Asked by
nickJr
Top achievements
Rank 1
Answers by
Dessy
Telerik team
Rishi
Top achievements
Rank 1
Giuseppe
Telerik team
Share this question
or