;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Options for saved report "Expense Over Time", based on template "Expense Over Time"
(let ()
 (define (options-gen)
  (let ((options (gnc:report-template-new-options/name "Expense Over Time")))

; Section: Display

(let ((option (gnc:lookup-option options
                                 "Display"
                                 "Show long account names")))
  ((lambda (option) (if option ((gnc:option-setter option) #t))) option))

(let ((option (gnc:lookup-option options
                                 "Display"
                                 "Plot Height")))
  ((lambda (option) (if option ((gnc:option-setter option) 770.0))) option))

(let ((option (gnc:lookup-option options
                                 "Display"
                                 "Plot Width")))
  ((lambda (option) (if option ((gnc:option-setter option) 1170.0))) option))

(let ((option (gnc:lookup-option options
                                 "Display"
                                 "Maximum Bars")))
  ((lambda (option) (if option ((gnc:option-setter option) 24.0))) option))


; Section: Accounts

(let ((option (gnc:lookup-option options
                                 "Accounts"
                                 "Show Accounts until level")))
  ((lambda (option) (if option ((gnc:option-setter option) '3))) option))


; Section: __report


; Section: General

(let ((option (gnc:lookup-option options
                                 "General"
                                 "From")))
  ((lambda (option) (if option ((gnc:option-setter option) '(relative . start-prev-year)))) option))

  options))
 (gnc:define-report 
  'version 1
  'name "Expense Over Time"
  'options-generator options-gen
  'menu-path (list gnc:menuname-custom)
  'renderer (gnc:report-template-renderer/name "Expense Over Time")))

