public class ChartConverter
extends java.lang.Object
OldChart
to Chart2
.
To get the old OldChart
object from a section set the configuration property 'OldChart API' to 'compliant up to version 7.x'.
Now you can use the old OldChart API. To convert the old chart to new Chart2
use this converter with replaceChart(OldChart)
.Modifier and Type | Method and Description |
---|---|
static boolean |
compareSummaryFields(SummaryField first,
SummaryField second)
Compares the sum properties of two sum fields.
|
static void |
convertChartToChart2(com.inet.report.OldChart oldChart,
Chart2 newChart)
Duplicates the properties from chart of type
OldChart to a chart of type Chart2 . |
static void |
replaceChart(com.inet.report.OldChart oldChart)
Converts the chart of type
OldChart to Chart2 . |
public static void replaceChart(com.inet.report.OldChart oldChart)
OldChart
to Chart2
.
Removes the chart from parent section and replaces it with a corresponding Chart2
.oldChart
- the chart (null
not permitted)public static void convertChartToChart2(com.inet.report.OldChart oldChart, Chart2 newChart)
OldChart
to a chart of type Chart2
.oldChart
- the chart of type OldChart
(null
not permitted)newChart
- the chart of type Chart2
(null
not permitted)public static boolean compareSummaryFields(SummaryField first, SummaryField second)
first
- the first field (null
not permitted)second
- the second field (null
not permitted)Copyright © 1999-2020 by i-net software GmbH