1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- <?xml version="1.0" encoding="utf-8"?>
- <Report ScriptLanguage="CSharp" ReportInfo.Description="Demonstrates the matrix with two column dimensions. To create such a matrix: - drag and drop data from the Data window to create a column; - drag next data below the just created column. Watch the drag indicator to select the position of where to insert a new item; - you may turn off the "Total" item in two ways: 1) click the item and delete it; 2) right-click the column item and uncheck the "Totals" item." ReportInfo.Created="05/16/2008 01:44:40" ReportInfo.Modified="03/30/2023 01:24:45" ReportInfo.CreatorVersion="1.0.0.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" Landscape="true" PaperWidth="297" PaperHeight="210" RawPaperSize="9" Watermark.Font="Arial, 60pt">
- <ReportTitleBand Name="ReportTitle1" Width="1047.06" Height="37.8" CanGrow="true">
- <TextObject Name="Text1" Width="1048.95" Height="37.8" Text="REVENUE BY EMPLOYEE" HorzAlign="Center" VertAlign="Center" Font="Segoe UI, 14pt, style=Bold"/>
- </ReportTitleBand>
- <DataBand Name="Data1" Top="39.8" Width="1047.06" Height="101.55">
- <MatrixObject Name="Matrix1" Left="9.45" Top="10.26" Width="184.65" Height="81.84" FixedRows="2" FixedColumns="1" DataSource="MatrixDemo" Style="Green">
- <MatrixColumns>
- <Header Expression="[MatrixDemo.Year]"/>
- <Header Expression="[MatrixDemo.Month]"/>
- </MatrixColumns>
- <MatrixRows>
- <Header Expression="[MatrixDemo.Name]"/>
- </MatrixRows>
- <MatrixCells>
- <Cell Expression="[MatrixDemo.Revenue]"/>
- </MatrixCells>
- <TableColumn Name="Column1" Width="49.11" AutoSize="true"/>
- <TableColumn Name="Column2" Width="63.16" AutoSize="true"/>
- <TableColumn Name="Column3" Width="36.19" AutoSize="true"/>
- <TableColumn Name="Column4" Width="36.19" AutoSize="true"/>
- <TableRow Name="Row1" Height="20.46" AutoSize="true">
- <TableCell Name="Cell1" Border.Lines="All" Border.Color="White" Fill.Color="130, 180, 130" Text="Name" HorzAlign="Center" VertAlign="Center" Font="Segoe UI, 9pt" RowSpan="2"/>
- <TableCell Name="Cell2" Border.Lines="All" Border.Color="White" Fill.Color="130, 180, 130" Text="[Year]" AllowExpressions="false" HorzAlign="Center" VertAlign="Center" Font="Segoe UI, 9pt" ColSpan="2"/>
- <TableCell Name="Cell7" Fill.Color="130, 180, 130" Font="Segoe UI, 9pt"/>
- <TableCell Name="Cell10" Border.Lines="All" Border.Color="White" Fill.Color="130, 180, 130" Text="Total" HorzAlign="Center" VertAlign="Center" Font="Segoe UI, 9pt" RowSpan="2"/>
- </TableRow>
- <TableRow Name="Row2" Height="20.46" AutoSize="true">
- <TableCell Name="Cell3" Fill.Color="130, 180, 130" Font="Segoe UI, 9pt"/>
- <TableCell Name="Cell4" Border.Lines="All" Border.Color="White" Fill.Color="130, 180, 130" Text="[Month]" AllowExpressions="false" HorzAlign="Center" VertAlign="Center" Font="Segoe UI, 9pt"/>
- <TableCell Name="Cell8" Border.Lines="All" Border.Color="White" Fill.Color="130, 180, 130" Text="Total" HorzAlign="Center" VertAlign="Center" Font="Segoe UI, 9pt"/>
- <TableCell Name="Cell11" Fill.Color="130, 180, 130" Font="Segoe UI, 9pt"/>
- </TableRow>
- <TableRow Name="Row5" Height="20.46" AutoSize="true">
- <TableCell Name="Cell5" Border.Lines="All" Border.Color="White" Fill.Color="130, 180, 130" Text="[Name]" AllowExpressions="false" HorzAlign="Center" VertAlign="Center" Font="Segoe UI, 9pt"/>
- <TableCell Name="Cell6" Border.Lines="All" Border.Color="White" Fill.Color="WhiteSmoke" Text="[Revenue]" AllowExpressions="false" Format="Currency" Format.UseLocale="true" Format.DecimalDigits="2" HorzAlign="Right" VertAlign="Center" Font="Segoe UI, 9pt"/>
- <TableCell Name="Cell9" Border.Lines="All" Border.Color="White" Fill.Color="WhiteSmoke" Format="Currency" Format.UseLocale="true" Format.DecimalDigits="2" HorzAlign="Right" VertAlign="Center" Font="Segoe UI, 9pt"/>
- <TableCell Name="Cell12" Border.Lines="All" Border.Color="White" Fill.Color="WhiteSmoke" Format="Currency" Format.UseLocale="true" Format.DecimalDigits="2" HorzAlign="Right" VertAlign="Center" Font="Segoe UI, 9pt"/>
- </TableRow>
- <TableRow Name="Row6" Height="20.46" AutoSize="true">
- <TableCell Name="Cell13" Border.Lines="All" Border.Color="White" Fill.Color="130, 180, 130" Text="Total" HorzAlign="Center" VertAlign="Center" Font="Segoe UI, 9pt"/>
- <TableCell Name="Cell14" Border.Lines="All" Border.Color="White" Fill.Color="WhiteSmoke" Format="Currency" Format.UseLocale="true" Format.DecimalDigits="2" HorzAlign="Right" VertAlign="Center" Font="Segoe UI, 9pt"/>
- <TableCell Name="Cell15" Border.Lines="All" Border.Color="White" Fill.Color="WhiteSmoke" Format="Currency" Format.UseLocale="true" Format.DecimalDigits="2" HorzAlign="Right" VertAlign="Center" Font="Segoe UI, 9pt"/>
- <TableCell Name="Cell16" Border.Lines="All" Border.Color="White" Fill.Color="WhiteSmoke" Format="Currency" Format.UseLocale="true" Format.DecimalDigits="2" HorzAlign="Right" VertAlign="Center" Font="Segoe UI, 9pt"/>
- </TableRow>
- </MatrixObject>
- </DataBand>
- <PageFooterBand Name="PageFooter1" Top="143.35" Width="1047.06" 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" VertAlign="Center" Font="Segoe UI, 9pt, style=Underline" TextFill.Color="Blue"/>
- </PageFooterBand>
- </ReportPage>
- </Report>
|