Htmlchart not displaying after dll upgrade

2 posts, 0 answers
  1. John
    John avatar
    1 posts
    Member since:
    Jan 2016

    Posted 21 Jan Link to this post

    I was having an issue with databound charts not displaying after upgrading the Telerik.Web.UI.dll from 2014.2.724.40 to 2015.2.623.40, so I decided to try just working with static html instead.  I borrowed some demo code and placed it in the same webpage in 2 different .NET projects:

              <telerik:RadHtmlChart runat="server" ID="PieChartXX" Width="700" Height="500" Transitions="true" Skin="Silk">
                  <ChartTitle Text="Browser Usage for April 2012">
                      <Appearance Align="Center" Position="Top"></Appearance>
                  </ChartTitle>
                  <Legend>
                      <Appearance Position="Right" Visible="true"></Appearance>
                  </Legend>
                  <PlotArea>
                      <Series>
                          <telerik:PieSeries StartAngle="90">
                              <LabelsAppearance Position="OutsideEnd" DataFormatString="{0} %"></LabelsAppearance>
                              <TooltipsAppearance Color="White" DataFormatString="{0} %"></TooltipsAppearance>
                              <SeriesItems>
                                      <telerik:PieSeriesItem BackgroundColor="#ff9900" Exploded="true" Name="Internet Explorer" Y="18.3"></telerik:PieSeriesItem>
                                      <telerik:PieSeriesItem BackgroundColor="#cccccc" Exploded="false" Name="Firefox"  Y="35.8"></telerik:PieSeriesItem>
                                      <telerik:PieSeriesItem BackgroundColor="#999999" Exploded="false" Name="Chrome" Y="38.3"></telerik:PieSeriesItem>
                                      <telerik:PieSeriesItem BackgroundColor="#666666" Exploded="false" Name="Safari" Y="4.5"></telerik:PieSeriesItem>
                                      <telerik:PieSeriesItem BackgroundColor="#333333" Exploded="false" Name="Opera" Y="2.3"></telerik:PieSeriesItem>
                              </SeriesItems>
                          </telerik:PieSeries>
                      </Series>
                  </PlotArea>
              </telerik:RadHtmlChart>

    When I run the solution using the earlier version (2014.2) of the dll, I get what is shown in attached file RadHtmlChart-2014.2.724.40.jpg.  When I run using the upgraded version (2015.2), I get what is shown in RadHtmlChart-2015.2.623.40.jpg.  Can someone point me to where my problem(s) might be?  TIA

     

  2. Danail Vasilev
    Admin
    Danail Vasilev avatar
    1490 posts

    Posted 21 Jan Link to this post

    Hi John,

    Is the issue related only to a data-binding scenario or a declarative setup as well? If the issue is data-binding specific then you should ensure to define the data source field types. Otherwise I would suggest the following:
        - Upgrade to the latest official version - 2016.1.113.
        - See whether there are some JavaScript errors. If so, try to fix them or provide us with the exact error messages.
        - If the issue is IE specific ensure you are not in compatibility mode.
        - Remove the CSS to see whether it is a CSS specific.

    If none of the above suggestions help it would be better to provide us with a runnable sample where the issue is reproduced, so that we can investigate it further.

    Regards,
    Danail Vasilev
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top