Charts provide a graphical representation of data in the source document. A chart is set up by defining XPath expressions to specify a sequence of items for each axis of the chart. DatabaseSpy then automatically generates the chart. The table below shows the types of charts that can be created, and the kind of data items that are required for each of the chart's axes.

Chart type |
X-Axis |
Y-Axis |
Number of Series (on Z-Axis) |

Pie Charts (2D, 3D) |
Text |
Numeric |
1 |

Bar Charts Ungrouped (2D, 3D) |
Text |
Numeric |
1 |

Bar Charts Grouped (2D, 3D) |
Text |
Numeric |
> 1 |

Category Line Graphs |
Text |
Numeric |
1 line = 1 series |

Value Line Graphs |
Numeric |
Numeric |
1 line = 1 series |

Area and Stacked Area Charts |
Text |
Numeric |
1 area = 1 series |

Candlestick Charts |
Text |
Numeric |
3 or 4 |

Gauge |
— |
Numeric |
1 |

Overlay Charts |
Text |
Numeric |
= 1 or > 1 per chart |

(C) 2019 Altova GmbH