Chart declarative HTML API
The declarative HTML API enables you to create and configure charts directly in HTML using simple, semantic tags. It streamlines the charting process by embedding data and configuration options within HTML elements, avoiding complex JavaScript code.
Charts
Genesis charts are based on G2plot, a powerful charting library that provides various customizable chart types, enabling you to create interactive and visually appealing data visualizations.
Criteria builder
The CriteriaBuilder is a utility class designed to build objects used in creating query criteria in a Groovy expression format. These criteria can be used in requests to back-end services.
Criteria Overview
The FoundationUI framework has several components that communicate directly with the backend. The Grids, Charts components take a resourceName parameter which specifies the service. The Connect class snapshot and stream methods can also be used to get data from the backend.
Datasources
Overview
Expression builder
The ExpressionBuilder is a utility class to build criteria objects that are used with the CriteriaBuilder.
G2Plot Chart datasource
The chart-datasource component serves as the data provider for G2Plot charts, allowing for dynamic, server-driven data integration.
G2Plot chart types
G2Plot charts enable you to select from a variety of chart types to suit your needs. The Type parameter specifies the type of chart to be rendered:
Grid Tabulator
The @genesislcap/grid-tabulator package provides a collection of grid-related components and utilities for Genesis applications.
Serialisers
Serialisers are utility functions for creating Groovy expressions for different operators, such as greater than, less than, equals, etc.