Wijmo API Documentation

website·Indexed 32 days ago

https://demo.grapecity.com.cn/wijmo/docs/

Technical reference and API documentation for Wijmo, featuring modules for PDF generation (wijmo_pdf), OLAP pivot engines (wijmo_olap), barcode generation, and a variety of UI components for Angular, React, and Vue, including charts, grids, and gauges.

Tokens
614.2K
Snippets
2.6K
Records
5.1K
Agent score
57%

What's inside Wijmo

  1. Overview of the PivotEngine class

    The PivotEngine class provides the underlying logic to transform regular data tables into OLAP pivot tables. It tabulates data from an itemsSource collection based on defined fields and generates a pivotView collection containing the aggregated results. Pivot tables group data into dimensions represented by rows and columns on a grid.
  2. Overview of the Wijmo Event system

    Wijmo uses an event system similar to .NET. Classes define events as fields, and developers can subscribe to them using addHandler and unsubscribe using removeHandler.

    Event handlers always receive two parameters:

    1. sender: The object that raised the event.
    2. args: An object containing the event parameters.

    Wijmo follows a pattern where every event has a corresponding on[EventName] method. Derived classes can override this method to execute code before or after the base class raises the event, or to suppress the event entirely by omitting the call to the base class implementation.

    // Example: Overriding onValueChanged to perform processing around the event
    onValueChanged(e: EventArgs) {
      // execute some code before the event fires
      console.log('about to fire valueChanged');
      
      // call base class to fire the event
      super.onValueChanged(e);
      
      // execute some code after the event fired
      console.log('valueChanged event just fired');
    }
  3. Overview of the BreakEven chart series

    The BreakEven class represents a break-even chart series. A break-even chart visualizes the sales volume level at which total costs equal sales. The name property provides comma-separated names for legend entries, and the styles property is used to customize the appearance of various components of the chart.
  4. Overview of the TreeMap control

    The TreeMap control displays hierarchical (tree-structured) data as a set of nested rectangles. Each branch of the tree is represented by a rectangle, which is tiled with smaller rectangles representing its sub-branches. Leaf nodes are rendered as rectangles with areas proportional to a specified data dimension, and are often colored to represent a separate dimension of the data.
  5. Overview of the IEditableCollectionView Interface

    The IEditableCollectionView interface extends ICollectionView to provide editing capabilities for data collections. It is implemented by several Wijmo classes, including CollectionView, ODataCollectionView, RestCollectionView, and PivotCollectionView. It allows developers to manage add/edit transactions, apply filters, handle sorting, and organize data into groups.
  6. Overview of the AutoComplete Class

    The AutoComplete control is an input control that allows developers to customize the item list dynamically as the user types. Unlike the ComboBox, which uses a static list, the AutoComplete control uses a function (itemsSourceFunction) to determine the item source. This enables real-time lookups, such as fetching data from remote databases based on the user's current input.