;;Display X Axis Legend Attribute /* This example demonstrates the use of the DisplayXAxisLegend attribute, which controls whether a DisplayXAxisLegendature should be displayed within a part. In the given part definition TSPL DisplayXAxisLegendAttribute, the attribute is set to DisplayXAxisLegend: Yes, which means the DisplayXAxisLegendature will be shown inside the part. ;;Syntax [Part : ] Display X Axis Legend : */ [#Menu: Gateway of Tally] Add: Item: "Display X Axis Legend attribute" : Display : TSPL DisplayXAxisLegendAttribute [Report: TSPL DisplayXAxisLegendAttribute] Title : "Display X Axis Legend Attribute in Part definition" Form : TSPL DisplayXAxisLegendAttribute [Form: TSPL DisplayXAxisLegendAttribute] Part : TSPL DisplayXAxisLegendAttribute Width : 50% Page [Part: TSPL DisplayXAxisLegendAttribute] Line : TSPL DisplayXAxisLegendAttribute Repeat: TSPL DisplayXAxisLegendAttribute : TSPL Indirect Expenses collection Border: Thin Box Graph Type : Yes ; Graph Style : ##DBGraphType DisplayXAxisLegend: Yes ; Height: 2 cms ; Shorten Y Axis Label : Yes ; X Axis Label Word Wrap : Yes ; Enable Graph Cursor : Yes ; Graph Display Cursor Label : @@IsGraphOnly ;Yes ; Scroll Indicator Style : Smaller ; Graph Display Num Rows : 12 [Line: TSPL DisplayXAxisLegendAttribute] 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 Graph X Axis Legend Title: "Closing Balance" ;; 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