Legend Titles Not Displaying

4 posts, 0 answers
  1. Jeff
    Jeff avatar
    47 posts
    Member since:
    Aug 2008

    Posted 03 Aug 2015 Link to this post

    Hello, I have created a new report/graph using Q3 2014 (8.2.14.1204) on my dev laptop. When I display the report on my production website the graph does not display the legend text. I am hoping there is a setting I can use to force the text to display. ​Attached is what the report looks like when I run it on my laptop (I purposely redacted part of the text) and what it looks like on the server. Notice the little markers in the middle of each of the legend lines on the No Text image - possibly there is a setting that will force the text to display and hide these markers?

     Here is the source XML:

    <?xml version="1.0" encoding="utf-8"?><Report Width="9.99996089935303in" Name="Report1" xmlns="http://schemas.telerik.com/reporting/2012/3.7"><DataSources><SqlDataSource ConnectionString="Reporting.Properties.Settings.CompanyName" SelectCommand="SELECT        DATEPART(yy, Table1.DateChanged) AS Year, DATEPART(mm, Table1.DateChanged) AS Month, UPPER(Table2.Name) AS AP,                          SUM(Table1.Price - Table1.Discount) AS Price FROM            Table1 INNER JOIN                          Table2 ON Table1.APID = Table2.EntityID WHERE        (Table2.Name NOT LIKE '%test%') AND (Table1.APID > 0) AND                          (Table1.APCustomerName NOT LIKE '%test%') GROUP BY UPPER(Table2.Name), DATEPART(mm, Table1.DateChanged), DATEPART(yy, Table1.DateChanged) HAVING        (DATEPART(yy, Table1.DateChanged) = 2015) ORDER BY Year, Month, AP" Name="CompanyName" /></DataSources><Items><DetailSection Height="6.94791650772095in" Name="detailSection1"><Items><Graph DataSourceName="CompanyName" Width="5.20000028610229in" Height="3.10000014305115in" Left="0.19999997317791in" Top="0.147916629910469in" Name="graph1"><PlotAreaStyle LineWidth="0in" LineColor="LightGray" /><Axes><GraphAxis Name="graphAxis4"><MajorGridLineStyle LineWidth="1px" LineColor="LightGray" /><MinorGridLineStyle Visible="False" LineWidth="1px" LineColor="LightGray" /><Scale><CategoryScale /></Scale></GraphAxis><GraphAxis Name="graphAxis2"><MajorGridLineStyle LineWidth="1px" LineColor="LightGray" /><MinorGridLineStyle Visible="False" LineWidth="1px" LineColor="LightGray" /><Scale><NumericalScale /></Scale></GraphAxis></Axes><CoordinateSystems><CartesianCoordinateSystem XAxis="graphAxis4" YAxis="graphAxis2" Name="cartesianCoordinateSystem1" /></CoordinateSystems><Style><Padding Left="10px" Right="10px" Top="10px" Bottom="10px" /></Style><SeriesGroups><GraphGroup Name="aPGroup"><Groupings><Grouping Expression="= Fields.AP" /></Groupings><Sortings><Sorting Expression="= Fields.AP" Direction="Asc" /></Sortings></GraphGroup></SeriesGroups><CategoryGroups><GraphGroup Name="monthGroup"><Groupings><Grouping Expression="= Fields.Month" /></Groupings><Sortings><Sorting Expression="= Fields.Month" Direction="Asc" /></Sortings></GraphGroup></CategoryGroups><Series><LineSeries CoordinateSystem="cartesianCoordinateSystem1" CategoryGroup="monthGroup" SeriesGroup="aPGroup" Size="null" MarkerSize="5px" MarkerMinSize="5px" MarkerMaxSize="50px" Y="= Sum(Fields.Price)" DataPointLabel="= Sum(Fields.Price)" Name="lineSeries1"><LineStyle LineWidth="1px" /><DataPointStyle Visible="False" /><DataPointLabelStyle Visible="False" /><LegendItem Value="= Fields.AP" /></LineSeries></Series><Legend><Style LineWidth="0in" LineColor="LightGray" /></Legend><Titles><GraphTitle Text="graph1" Position="TopCenter"><Style LineWidth="0in" LineColor="LightGray" /></GraphTitle></Titles></Graph></Items></DetailSection><PageHeaderSection Height="0.0520833320915699in" Name="pageHeaderSection1" /><PageFooterSection Height="0.0520833320915699in" Name="pageFooterSection1" /></Items><StyleSheet><StyleRule><Style><Padding Left="2pt" Right="2pt" /></Style><Selectors><TypeSelector Type="TextItemBase" /><TypeSelector Type="HtmlTextBox" /></Selectors></StyleRule><StyleRule><Style Color="Black"><BorderStyle Default="Solid" /><BorderColor Default="Black" /><BorderWidth Default="1px" /><Font Name="Tahoma" Size="9pt" /></Style><Selectors><StyleSelector Type="Table" StyleName="Normal.TableNormal" /></Selectors></StyleRule><StyleRule><Style VerticalAlign="Middle"><BorderStyle Default="Solid" /><BorderColor Default="Black" /><BorderWidth Default="1px" /><Font Name="Tahoma" Size="10pt" /></Style><Selectors><DescendantSelector><Selectors><TypeSelector Type="Table" /><StyleSelector Type="ReportItem" StyleName="Normal.TableHeader" /></Selectors></DescendantSelector></Selectors></StyleRule><StyleRule><Style><BorderStyle Default="Solid" /><BorderColor Default="Black" /><BorderWidth Default="1px" /><Font Name="Tahoma" Size="9pt" /></Style><Selectors><DescendantSelector><Selectors><TypeSelector Type="Table" /><StyleSelector Type="ReportItem" StyleName="Normal.TableBody" /></Selectors></DescendantSelector></Selectors></StyleRule></StyleSheet><PageSettings><PageSettings PaperKind="Letter" Landscape="True"><Margins><MarginsU Left="0.5in" Right="0.5in" Top="0.5in" Bottom="0.5in" /></Margins></PageSettings></PageSettings></Report>
     

     

  2. Nasko
    Admin
    Nasko avatar
    1085 posts

    Posted 06 Aug 2015 Link to this post

    Hello Jeff,

    To hide the marker you can set a really small value for the Series.LineSeries.MarkerSize property.
    About the legend titles not displaying, please make sure that the  Series.LineSeries.LegendItem.Value has been set correctly, and that the  LegendItem.Style.Visible is set to  True. Further information is available in the Formatting a Graph help articles.

    In case the issue persists, please send us a runnable report with test data which we can investigate locally and advise accordingly.

    Regards,
    Nasko
    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. Jeff
    Jeff avatar
    47 posts
    Member since:
    Aug 2008

    Posted 07 Aug 2015 Link to this post

    It turns out to be a caused by a difference in the two versions of Telerik Reporting, I create the report using Q3 2014 and view the report using Q1 2013. Since we are converting the report to .TRDX is there anything I could do to the markup to fix it?
  4. Nasko
    Admin
    Nasko avatar
    1085 posts

    Posted 11 Aug 2015 Link to this post

    Hello Jeff,

    Unfortunately, such scenario is not supported and you cannot use Telerik Reporting Q1 2013 to view TRDX reports which are created with Telerik Reporting Q3 2014.
    Our suggestion is to use Q1 2013 to design the report.

    Regards,
    Nasko
    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
Back to Top