How to Configure the Chart Window in iDempiere

Learn how to configure the Chart window in iDempiere to build retail sales dashboards with data-driven charts and KPIs.

Introduction

The Chart window in iDempiere lets administrators build data-driven visualizations directly from any transactional table using SQL, without custom coding.

Once configured, it feeds Dashboard Content widgets so store managers and executives see live sales trends and performance without running manual reports.

Process Flow

TenthPlanet iDempiere Chart

Business Rules

  • Only Active charts are available for selection in Dashboard Content.
  • Sql WHERE should include AD_Client_ID so data stays specific to the tenant.
  • Chart Type controls how data is displayed: Line, Bar, Area, or Pie.
  • Each Chart header can have one Datasource detail line defining its query.
  • Window Height controls how large the chart appears on the Home dashboard.

Prerequisites

  • Sales Order, Invoice, or relevant transactional data already recorded in the system.
  • Role has read access to the source table used in the chart query.
  • Dashboard Content window accessible for mapping the chart to the Home screen.
  • Basic SQL knowledge to define the Sql FROM and Sql WHERE clauses.

Navigation

Path: Menu → Performance Analysis and Accounting → Performance Management → Chart

Configuration Steps

Step 1: Create the Chart Header Record

In the Chart tab, enter a Name such as “Sales YTD”, set Chart Type to Line Chart, set Orientation to Vertical, and enable Time Series for a month-wise trend.

FieldSample ValuePurpose
NameSales YTDIdentifies the chart in the Dashboard Content list
Chart TypeLine ChartDefines the visual representation of the data
Window Height300Sets the chart display height in pixels
OrientationVerticalSets the chart axis orientation
Domain LabelMonthLabels the X-axis of the chart
Range LabelValueLabels the Y-axis of the chart
Time SeriesCheckedEnables date-based trend plotting
Time UnitMonthGroups data points by month
Time Scope12Number of periods displayed on the chart
ActiveCheckedMakes the chart available for dashboard mapping
TenthPlanet iDempiere Accounting Chart 1

Step 2: Define Chart Type and Display Settings

Choose a chart type matching the KPI: Line for trends, Bar for store comparisons, Pie for share of total. Enable Display Legend when the chart carries multiple series.

Step 3: Configure the Chart Datasource

Switch to the Datasource tab and enter Sql FROM, Sql WHERE, Date Column, and Value Column so the chart pulls the correct sales figures.

FieldSample ValuePurpose
Sql FROMC_Order oSource table for the chart query
Sql WHEREo.DocStatus IN (‘CO’,’CL’) AND o.AD_Client_ID=@#AD_Client_ID@ AND o.IsSOTrx=’Y’Filters completed sales orders for the current client
Date Columno.DateOrderedColumn used for time-series grouping
Value Columnsum(o.GrandTotal)Aggregated sales value plotted on the chart
TableC_Order_OrderReference table used for drill-down
Key Columno.C_Order_IDUnique key used for drill-down navigation
Series Column(blank)Used only when splitting the chart into multiple series
Time Offset0Adjusts time zone offset applied to date grouping
TenthPlanet iDempiere Accounting Chart 2

Step 4: Activate and Save the Chart

Check the Active checkbox on the Chart tab and the Datasource tab, then save the record.

TenthPlanet iDempiere Accounting Chart 3

Common Issues and Resolutions

IssueCauseResolution
Chart not listed in Dashboard ContentChart or Datasource record marked InactiveActivate both records and save
Trend line not grouped by monthTime Series unchecked or Time Unit mismatchEnable Time Series and set the correct Time Unit
Error when opening or saving the chartSyntax error in Sql FROM or Sql WHERETest the query in the database before saving
Chart appears too small or too largeWindow Height not set appropriatelyAdjust Window Height and refresh the dashboard

Next Steps

  • Configure Dashboard Content to map this chart to the Home screen.
  • Set up role-based dashboard access so the right store managers see it.
  • Create additional charts for inventory levels, returns, or top-selling products.