blob: d7d34af7f9e76679db8e82337c2e893837aa42b8 [file] [log] [blame]
package ${{BASIC_PROJECT_NAME}}.charts {
import ${{BASIC_PROJECT_NAME}}.datamarts.*
chart ProductSales described by "Sales Statistics" as
bar animated
shaded using
datamart ProductSales {
axis rows renders category tickangle 90
axis columns renders linear
legend inside-grid toggle replot normal
tooltip north-east always
}
chart SalesByState described by "Sales by state and time" as
line cursor zoom
trendLine using
datamart SalesByState {
axis columns renders linear
axis rows renders category tickangle 20
legend outside-grid toggle replot normal
tooltip north-east always inside
}
chart StoreSizes described by "Store sizes by state and type of store" as
donut using
datamart StoreSizes {
axis rows renders category
axis columns renders linear
legend outside-grid toggle replot fast
tooltip north-east always inside
}
chart SalesPerRegion described by "Sales per state/province" as
bar shaded stacked
swapped using
datamart SalesByDistrict {
axis rows renders category
axis columns renders linear shortLabel tickangle 25
legend outside-grid toggle replot slow
tooltip east always inside
}
chart HRExpenses described by "Average salary" as
bubble multiplier 1.5 gradient using
datamart HRExpenses {
axis rows renders category
axis columns renders linear
tooltip north-east always inside
}
chart WarehouseData described by "shipped orders per quarter" as
gauge label "numOrders" hasTicks minimum 0 maximum 80000 intervals {
up to 10000
segmentcolor "230,128,64"
/* orange */
up to 40000
segmentcolor "255,0,0"
up to 80000
segmentcolor "128,255,0"
}
using
datamart WarehouseShipping {
axis rows renders category
axis columns renders linear
}
chart WarehouseFinance described by "Warehouse sales and cost" as
pie using
datamart WarehouseFinance {
axis rows renders category
axis columns renders linear
legend inside-grid toggle replot slow
tooltip west inside
}
chart Warehouse described by "Warehouse sales and cost" as
bar animated stacked
shaded using
datamart Warehouse {
axis rows renders category
axis columns renders linear
legend inside toggle replot fast
tooltip west inside
}
chart PositionStat described by "Payroll per Position" as
bar using
datamart PositionStat {
axis rows renders category
axis columns renders linear
legend outside-grid
tooltip north-east always
}
chart TreemapSales described by "Sales by product" as
tree map using
datamart TreemapSales {
axis rows renders category
axis columns renders linear
}
chart TreemapProducts described by "Product hierarchy" as
tree collapsible using
datamart TreemapProducts {
axis rows renders category
axis columns renders linear
}
}