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

Narrow range not respected after upgrading from 2015.2.826 to 2016.3.914.45

3 Answers 143 Views
Chart (HTML5)
This is a migrated thread and some comments may be shown as answers.
Joel
Top achievements
Rank 2
Joel asked on 23 Sep 2016, 04:23 PM

I have a box and whisker plot (boxplotseries)

I have a server version and a local version of the same project.

The only difference between the projects is that I upgraded my local project from 2015.2 to 2016.3.914 this morning.

I have NarrowRange="true" set both in the front side and in the code behind for this graph.  2015.2 shows a non-zero based chart in production, and local shows zero based regardless of range.

Is there a different way to define narrowrange in the latest release, or is this a bug? 

 

I have reverted back to 2015.2 via the VS/Telerik upgrade wizard and have resolved my issue for now.

<telerik:RadHtmlChart runat="server" ID="rcBP" Width="250px" Height="300px">
          <Legend>
              <Appearance Visible="True" BackgroundColor="Yellow"></Appearance>
          </Legend>
          <PlotArea>
              <XAxis></XAxis>
              <Series  >
              <telerik:BoxPlotSeries>
                  <TooltipsAppearance Color="White" BackgroundColor="#4f99d2" >
                      <ClientTemplate >
                          Avg: #=kendo.format(\'{0:N2}\',dataItem.Avg)# <br />
                            P10:  #=kendo.format(\'{0:N0}\',dataItem.D10)# <br />
                           P25:   #=kendo.format(\'{0:N0}\',dataItem.D25)# <br />
                          P50: #=kendo.format(\'{0:N0}\',dataItem.P50)# <br />
                          P75: #=kendo.format(\'{0:N2}\',dataItem.P75)# <br />
                          P90: #=kendo.format(\'{0:N2}\',dataItem.P90)#
                      </ClientTemplate>
                  </TooltipsAppearance>
                  <Appearance FillStyle-BackgroundColor="#4f99d2" ></Appearance>
              </telerik:BoxPlotSeries>
          </Series>
          <XAxis Visible="False" >
              <Items >
                  <telerik:AxisItem LabelText="" />
              </Items>
              <MajorGridLines Visible="False" />
              <MinorGridLines Visible="False" />
          </XAxis>
              <YAxis MinorTickType="None" MajorTickType="None" NarrowRange="true" >
                  <MinorGridLines Visible="False" />
                  <MajorGridLines Visible="False" />
                  <LabelsAppearance DataFormatString="{0:C2}">
                  </LabelsAppearance>
              </YAxis>
      </PlotArea>
  </telerik:RadHtmlChart>

 

3 Answers, 1 is accepted

Sort by
0
Slav
Telerik team
answered on 28 Sep 2016, 10:16 AM
Hello Joel,

The narrow range appears to be applied on my end with the latest version of UI for ASP.NET (2016.3.914). You can find attached a sample that looks as shown in the following screen capture: http://screencast.com/t/HnIE4Gv3

Please check it and compare it with your project in order to determine the differences that lead to the issue at hand. Then you can change the attached sample until the problem can be reproduced and send it so that I can debug it locally.

Regards,
Slav
Telerik by Progress
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
0
Joel
Top achievements
Rank 2
answered on 28 Sep 2016, 12:33 PM

Attached is a trimmed out example with screen shots.  Only difference between the two is using the Telerik Upgrade wizard to switch between the 2 versions.

aspx and aspx.cs available here  http://www.bubblergps.com/bpg.zip

 

 

 

0
Slav
Telerik team
answered on 03 Oct 2016, 10:17 AM
Hi Joel,

Indeed, the issue is reproducible with the data from your example. I have logged a bug item, which you can use to track its status: http://feedback.telerik.com/Project/108/Feedback/Details/202426

It also contains a workaround, which you can use for the time being.

I updated your points as a small token of gratitude for reporting this issue.

Regards,
Slav
Telerik by Progress
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
Chart (HTML5)
Asked by
Joel
Top achievements
Rank 2
Answers by
Slav
Telerik team
Joel
Top achievements
Rank 2
Share this question
or