Package hudson.util

Class DataSetBuilder<Row extends Comparable,Column extends Comparable>

java.lang.Object
hudson.util.DataSetBuilder<Row,Column>
Type Parameters:
Row - Names that identify different graphs drawn in the same chart.
Column - X-axis.

public final class DataSetBuilder<Row extends Comparable,Column extends Comparable> extends Object
Builds CategoryDataset.

This code works around an issue in DefaultCategoryDataset where order of addition changes the way they are drawn.

  • Constructor Details

    • DataSetBuilder

      public DataSetBuilder()
  • Method Details

    • add

      public void add(Number value, Row rowKey, Column columnKey)
    • build

      public org.jfree.data.category.CategoryDataset build()