﻿<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" TextQuality="Regular" ReportInfo.Description="Demonstrates the use of the Matrix object. To create a matrix:&#13;&#10;- put a new Matrix object to the page;&#13;&#10;- switch to the &quot;Data Dictionary&quot; window, select the data column and drag it to the Matrix object;&#13;&#10;- you can reorder matrix items with mouse (click the cell and move it to the new position);&#13;&#10;- use cell and matrix context menu to edit items.&#13;&#10;A matrix object must have at least one column or row and one cell. It must be connected to a datasource through the DataSource property (it will be done automatically when you drag and drop data onto it from the Data Dictionary)." ReportInfo.Created="05/16/2008 01:44:40" ReportInfo.Modified="01/21/2019 12:49:04" ReportInfo.CreatorVersion="2019.1.9.0">
  <Dictionary>
    <TableDataSource Name="MatrixDemo" ReferenceName="NorthWind.MatrixDemo" DataType="System.Int32" Enabled="true">
      <Column Name="Name" DataType="System.String"/>
      <Column Name="Year" DataType="System.Int32"/>
      <Column Name="Month" DataType="System.Int32"/>
      <Column Name="ItemsSold" DataType="System.Int32"/>
      <Column Name="Revenue" DataType="System.Decimal"/>
    </TableDataSource>
  </Dictionary>
  <ReportPage Name="Page1">
    <ReportTitleBand Name="ReportTitle1" Width="718.2" Height="66.15" CanGrow="true">
      <TextObject Name="Text1" Top="37.8" Width="718.2" Height="28.35" Text="REVENUE BY EMPLOYEE" HorzAlign="Center" VertAlign="Center" Font="Tahoma, 14pt, style=Bold"/>
      <TextObject Name="Text11" Width="718.2" Height="28.35" Anchor="Top, Left, Right" Fill.Color="WhiteSmoke" CanGrow="true" CanShrink="true" Text="[Report.ReportInfo.Description]&#13;&#10;" Padding="4, 4, 4, 4" Font="Tahoma, 8pt"/>
    </ReportTitleBand>
    <DataBand Name="Data1" Top="70.15" Width="718.2" Height="87.52">
      <MatrixObject Name="Matrix1" Left="9.45" Top="11.92" Width="245.7" Height="66.15" FixedRows="1" FixedColumns="1" AutoSize="false" DataSource="MatrixDemo" Style="Orange">
        <MatrixColumns>
          <Header Expression="[MatrixDemo.Year]"/>
        </MatrixColumns>
        <MatrixRows>
          <Header Expression="[MatrixDemo.Name]"/>
        </MatrixRows>
        <MatrixCells>
          <Cell Expression="[MatrixDemo.Revenue]"/>
        </MatrixCells>
        <TableColumn Name="Column1" Width="94.5"/>
        <TableColumn Name="Column2" Width="75.6"/>
        <TableColumn Name="Column3" Width="75.6"/>
        <TableRow Name="Row1" Height="28.35">
          <TableCell Name="Cell1" Border.Lines="All" Border.Color="White" Fill="Glass" Fill.Color="Gold" Fill.Blend="0.35" Fill.Hatch="true" Text="Employee" HorzAlign="Center" VertAlign="Center" Font="Tahoma, 8pt"/>
          <TableCell Name="Cell2" Border.Lines="All" Border.Color="White" Fill="Glass" Fill.Color="Gold" Fill.Blend="0.35" Fill.Hatch="true" Text="[Year]" AllowExpressions="false" HorzAlign="Center" VertAlign="Center" Font="Tahoma, 8pt"/>
          <TableCell Name="Cell7" Border.Lines="All" Border.Color="White" Fill="Glass" Fill.Color="Gold" Fill.Blend="0.35" Fill.Hatch="true" Text="Total" HorzAlign="Center" VertAlign="Center" Font="Tahoma, 8pt, style=Bold"/>
        </TableRow>
        <TableRow Name="Row2">
          <TableCell Name="Cell3" Border.Lines="All" Border.Color="White" Fill.Color="255, 218, 70" Text="[Name]" AllowExpressions="false" VertAlign="Center" Font="Tahoma, 8pt"/>
          <TableCell Name="Cell4" Border.Lines="All" Border.Color="White" Fill.Color="255, 235, 155" Text="[Revenue]" AllowExpressions="false" Format="Currency" Format.UseLocale="true" HorzAlign="Right" VertAlign="Center" Font="Tahoma, 8pt"/>
          <TableCell Name="Cell8" Border.Lines="All" Border.Color="White" Fill.Color="255, 235, 155" Format="Currency" Format.UseLocale="true" HorzAlign="Right" VertAlign="Center" Font="Tahoma, 8pt"/>
        </TableRow>
        <TableRow Name="Row4">
          <TableCell Name="Cell5" Border.Lines="All" Border.Color="White" Fill.Color="255, 218, 70" Text="Total" HorzAlign="Center" VertAlign="Center" Font="Tahoma, 8pt, style=Bold"/>
          <TableCell Name="Cell6" Border.Lines="All" Border.Color="White" Fill.Color="255, 235, 155" Format="Currency" Format.UseLocale="true" HorzAlign="Right" VertAlign="Center" Font="Tahoma, 8pt"/>
          <TableCell Name="Cell9" Border.Lines="All" Border.Color="White" Fill.Color="255, 235, 155" Format="Currency" Format.UseLocale="true" HorzAlign="Right" VertAlign="Center" Font="Tahoma, 8pt, style=Bold"/>
        </TableRow>
      </MatrixObject>
    </DataBand>
    <PageFooterBand Name="PageFooter1" Top="161.67" Width="718.2" Height="28.35" Fill.Color="WhiteSmoke">
      <TextObject Name="Text12" Left="9.45" Width="217.35" Height="28.35" Cursor="Hand" Hyperlink.Value="https://www.fast-report.com/en/product/fast-report-net/" Text="Generated by FastReport .NET" VertAlign="Center" Font="Tahoma, 8pt, style=Underline" TextFill.Color="Blue"/>
    </PageFooterBand>
  </ReportPage>
</Report>
