Class SparklineStyleKeys


  • public class SparklineStyleKeys
    extends Object
    This class collects all the custom StyleKeys usable for Sparkline graphs. The main color of graphs is carried by the common "paint" StyleKey.
    Author:
    Thomas Morgner
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.pentaho.reporting.engine.classic.core.style.StyleKey HIGH_COLOR
      This StyleKey represents the color of bars above the average of datapoints (for bar graphs) or the color for the highest slice (for pie graphs)
      static org.pentaho.reporting.engine.classic.core.style.StyleKey LAST_COLOR
      This StyleKey represents the color of the last bar for Sparkline bar graphs.
      static org.pentaho.reporting.engine.classic.core.style.StyleKey LOW_COLOR
      This StyleKey represents the color for the lower slice (for pie graphs)
      static org.pentaho.reporting.engine.classic.core.style.StyleKey MEDIUM_COLOR
      This StyleKey represents the color for the medium slice (for pie graphs)
    • Field Detail

      • HIGH_COLOR

        public static final org.pentaho.reporting.engine.classic.core.style.StyleKey HIGH_COLOR
        This StyleKey represents the color of bars above the average of datapoints (for bar graphs) or the color for the highest slice (for pie graphs)
      • MEDIUM_COLOR

        public static final org.pentaho.reporting.engine.classic.core.style.StyleKey MEDIUM_COLOR
        This StyleKey represents the color for the medium slice (for pie graphs)
      • LOW_COLOR

        public static final org.pentaho.reporting.engine.classic.core.style.StyleKey LOW_COLOR
        This StyleKey represents the color for the lower slice (for pie graphs)
      • LAST_COLOR

        public static final org.pentaho.reporting.engine.classic.core.style.StyleKey LAST_COLOR
        This StyleKey represents the color of the last bar for Sparkline bar graphs. It overrides the current bar color for the last bar.