Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I write a new series type that uses a custom data element?

0
10 Posted

How do I write a new series type that uses a custom data element?

0
10

An example of a chart type that uses a custom data element that already exists in the system is a Stock series chart. Each data element (held in a stock data set) holds four numerical values: • High • Low • Open • Close These four values are encapsulated in a StockEntry class available in package org.eclipse.birt.chart.datafeed A collection or array of StockEntry instances are wrapped in a StockDataSet instance and associated with a Stock series. At runtime, a StockDataSetProcessor (associated with a Stock series via an extension point definition) is capable of performing the following functions with a StockDataSet: • Build a stock data set by parsing a comma separated list of StockEntry values • Compute the smallest value of (high, low, open, close) of all StockEntry values • Compute the largest value of (high, low, open, close) of all StockEntry values • Capable of extracting values from resultset columns and creating StockEntry instances that are fed to a StockDataSet As can be seen

0

An example of a chart type that uses a custom data element that already exists in the system is a Stock series chart. Each data element (held in a stock data set) holds four numerical values: a. High b. Low c. Open d. Close These four values are encapsulated in a StockEntry class available in package org.eclipse.birt.chart.datafeed A collection or array of StockEntry instances are wrapped in a StockDataSet instance and associated with a Stock series. At runtime, a StockDataSetProcessor (associated with a Stock series via an extension point definition) is capable of performing the following functions with a StockDataSet: A] Build a stock data set by parsing a comma separated list of StockEntry values B] Compute the smallest value of (high, low, open, close) of all StockEntry values C] Compute the largest value of (high, low, open, close) of all StockEntry values D] Capable of extracting values from resultset columns and creating StockEntry instances that are fed to a StockDataSet As can

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123