leaderanalytics / LeaderPivot

Base logic for creating an object that can be used by any UI to render a pivot table

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Leader Analytics

LeaderPivot

LeaderPivot is a base library that generates a data structure which can be used to render a pivot grid. This library contains no UI implementation but is used by multiple libraries that do.

LeaderPivot contains the logic and the low level components that are used to create the pivot grid data structure. It also contains methods that can be used to handle UI events such as collapsing/expanding nodes or rearranging dimensions.

Currently, three UI specific implementation exist:

Blazor control

Blazor demo project

Blazor live demo

Windows Presentation Foundation (WPF) demo and control

WinUI demo and control

Classes

  • Measure - Describes a column or variable to be used as a datapoint on a pivot grid.
  • Dimension - Describes how data should be grouped. Used to represent an axis on a multi-dimensional pivot grid.
  • Node - Intermediate data structure produced by NodeBuilder as a result of grouping data.
  • Matrix - Tabular data structure generated by MatrixBuilder.
  • NodeBuilder - Groups data based on the supplied Dimensions. Constructs a hierarchical Node structure which is then passed to MatrixBuilder.
  • MatrixBuilder - Traverses the Node structure produced by NodeBuilder and produces a Matrix consisting of MatrixCell objects. MatrixCell exposes properties the UI layer will use to render a pivot grid.

Get the LeaderPivot NuGet package

About

Base logic for creating an object that can be used by any UI to render a pivot table

License:GNU Lesser General Public License v3.0


Languages

Language:C# 100.0%Language:Smalltalk 0.0%