;;Graph Display Num Rows Attribute /* This example demonstrates how the Graph Display Num Rows attribute controls the number of rows shown in a graph. With Graph Display Num Rows: 3, the graph will display a maximum of three rows at a time. If the data has more than three rows, horizontal scrolling is automatically enabled so the user can navigate through the remaining rows. This attribute works only when Enable Graph Cursor is set to Yes. Since the cursor is enabled in this example, users can scroll and interact with the graph smoothly. ;;Syntax [Part : ] GraphDisplayNumRows : */ [#Menu: Gateway of Tally] Add: Item: "Graph Display Num Rows attribute" : Display : TSPL GraphDisplayNumRowsAttribute [Report: TSPL GraphDisplayNumRowsAttribute] Title : "Graph Display Num Rows Attribute" Form : TSPL GraphDisplayNumRowsAttribute [Form: TSPL GraphDisplayNumRowsAttribute] Part : TSPL GraphDisplayNumRowsAttribute Width : 50% Page [Part: TSPL GraphDisplayNumRowsAttribute] Line : TSPL GraphDisplayNumRowsAttribute Repeat: TSPL GraphDisplayNumRowsAttribute : TSPL Indirect Expenses collection Border: Thin Box Graph Type : Yes Enable Graph Cursor: Yes Graph Display Cursor Label: Yes Graph Display Num Rows: 3 [Line: TSPL GraphDisplayNumRowsAttribute] Field : TSPL Indirect Expenses Graph Particulars, TSPL Indirect Expenses Graph value Local: Field: TSPL Indirect Expenses Graph Particulars : Graph Label : Yes [Field: TSPL Indirect Expenses Graph Particulars] Use : Name Field Set as : $Name Graph Label : Yes Alter : Ledger [Field: TSPL Indirect Expenses Graph value] Use : Amount Field Style : Large Bold Set as : $Closingbalance Graph Value : Yes Background : First BarGraph Color ;; Ledger collection to get ledger name and closing balance in report. [Collection: TSPL Indirect Expenses collection] Type: Ledger Child Of: $$GroupIndirectExpenses Fetch: Name, Closingbalance Sort : @@Default : $Closingbalance Max : 10 ;;End of File