12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <?xml version="1.0" encoding="utf-8"?>
- <Report ScriptLanguage="CSharp" ReportInfo.Description="Demonstrates how to create a matrix with no rows. To do this: - drag the data from the Data Dictionary window to create a column and a cell; - we are not going to print the first column that contains row headers (they are empty). Instead we would print the title. To enable it, right-click the left-top corner of the matrix (where you see the "move" indicator) to show the matrix's context menu, and click the "Show Title" item to enable the matrix title; - set the title text." ReportInfo.Created="05/16/2008 01:44:40" ReportInfo.Modified="03/30/2023 01:25:21" 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" Watermark.Font="Arial, 60pt">
- <ReportTitleBand Name="ReportTitle1" Width="718.2" Height="37.8" CanGrow="true">
- <TextObject Name="Text1" Width="718.2" 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="718.2" Height="91.18">
- <MatrixObject Name="Matrix1" Left="9.45" Top="11.98" Width="207.3" Height="77.34" FixedRows="2" FixedColumns="1" DataSource="MatrixDemo" ShowTitle="true" Style="Orange">
- <MatrixColumns>
- <Header Expression="[MatrixDemo.Name]"/>
- </MatrixColumns>
- <MatrixRows/>
- <MatrixCells>
- <Cell Expression="[MatrixDemo.Revenue]"/>
- </MatrixCells>
- <TableColumn Name="Column1" Width="105.37" AutoSize="true"/>
- <TableColumn Name="Column2" Width="63.16" AutoSize="true"/>
- <TableColumn Name="Column3" Width="38.77" AutoSize="true"/>
- <TableRow Name="Row1" Height="20.46" AutoSize="true">
- <TableCell Name="Cell1" Border.Lines="All" Border.Color="White" Fill.Color="130, 180, 130" HorzAlign="Center" VertAlign="Center" Font="Segoe UI, 9pt"/>
- <TableCell Name="Cell2" Border.Lines="All" Border.Color="White" Fill.Color="130, 180, 130" Text="Revenue" HorzAlign="Center" VertAlign="Center" Font="Segoe UI, 9pt" ColSpan="2"/>
- <TableCell Name="Cell7" Fill.Color="130, 180, 130" Font="Segoe UI, 9pt"/>
- </TableRow>
- <TableRow Name="Row2" Height="20.46" AutoSize="true">
- <TableCell Name="Cell3" Border.Lines="All" Border.Color="White" Fill.Color="130, 180, 130" HorzAlign="Center" VertAlign="Center" Font="Segoe UI, 9pt"/>
- <TableCell Name="Cell4" 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="Cell8" Border.Lines="All" Border.Color="White" Fill.Color="130, 180, 130" Text="Total" HorzAlign="Center" VertAlign="Center" Font="Segoe UI, 9pt, style=Bold"/>
- </TableRow>
- <TableRow Name="Row4" Height="36.42" AutoSize="true">
- <TableCell Name="Cell5" Fill.Color="130, 180, 130" Text="Drag data here to create a new row" HorzAlign="Center" VertAlign="Center" Font="Segoe UI, 9pt" TextFill.Color="Gray"/>
- <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, style=Bold"/>
- </TableRow>
- </MatrixObject>
- </DataBand>
- <PageFooterBand Name="PageFooter1" Top="132.98" 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" VertAlign="Center" Font="Segoe UI, 9pt, style=Underline" TextFill.Color="Blue"/>
- </PageFooterBand>
- </ReportPage>
- </Report>
|