package histogram
- Alphabetic
- Public
- Protected
Type Members
- final case class Cumulative(enabled: Opt[Boolean] = Blank, direction: Opt[Direction] = Blank, currentbin: Opt[CurrentBin] = Blank) extends Component with Product with Serializable
This is an option for a histogram chart.
This is an option for a histogram chart. If enabled == true, it shows cumulative distribution by summing the bin values.
- enabled
: A boolean that specifies whether the cumulative distribution is enabled.
- direction
: If 'increasing' will sum all prior bins. if 'decreasing' will sum the later bins.
- currentbin
: only applies if enabled == true. Sets whether the bin is included, excluded, or has half of its value in the current cumulative value.
- sealed trait CurrentBin extends AnyRef
this trait acts as an ENUM for the current bin option.
this trait acts as an ENUM for the current bin option. Only applies if cumulative is enabled.
- sealed trait Direction extends AnyRef
This trait acts as an ENUM for direction option.
This trait acts as an ENUM for direction option. Only applies if cumulative is enabled.
- sealed trait HistFunction extends AnyRef
Specifies the binning function used for the histogram.
- sealed trait HistNorm extends AnyRef
Specifies how the histogram is normalized.
- final case class HistOptions(orientation: Orientation = VERTICAL, cumulative: Opt[Cumulative] = Blank, histnorm: Opt[HistNorm] = Blank, histfunc: Opt[HistFunction] = Blank, xbins: Opt[Xbins] = Blank, ybins: Opt[Ybins] = Blank) extends Component with Product with Serializable
This class sets the options for a histogram.
This class sets the options for a histogram. Generally this will be manipulated by a component that sits higher up in the class hierarchy.
- orientation
: Specifies whether the histogram is vertical or horizontal.
- cumulative
: This takes in a Cumulative type which specifies how the histogram cumulative function works.
- histnorm
: Specifies the type of normalization for the histogram series.
- histfunc
: Specifies the binning function for the histogram series.
- xbins
: An Xbin specified by the user.
- ybins
: A Ybin specified by the user.
- final case class Xbins(start: Opt[Double] = Blank, end: Opt[Double] = Blank, size: Opt[Double] = Blank) extends HistBins with Product with Serializable
A case class that represents the Xbins option.
A case class that represents the Xbins option.
- start
: The starting value for the bin. If not provided, rendering will default to the minimum data value.
- end
: The ending value for the bin. If not provided, rendering will default to the maximum data value.
- size
: Sets the size of each bin.
- final case class Ybins(start: Opt[Double] = Blank, end: Opt[Double] = Blank, size: Opt[Double] = Blank) extends HistBins with Product with Serializable
A case class that represents the Ybins option.
A case class that represents the Ybins option.
- start
: The starting value for the bin. If not provided, rendering will default to the minimum data value.
- end
: The ending value for the bin. If not provided, rendering will default to the maximum data value.
- size
: Sets the size of each bin.
Value Members
- case object AVG extends HistFunction with Product with Serializable
Histogram values are equal to the average of the values lying in the bin.
- case object COUNT extends HistFunction with Product with Serializable
Histogram values are equal to the number of values lying in the bin.
- case object DECREASING extends Direction with Product with Serializable
Sum later bins so that the result decreases from left to right.
- case object DENSITY extends HistNorm with Product with Serializable
The length of each bar equals the number of occurrences in a bin divided by the length of the bin interval.
- case object EXCLUDE extends CurrentBin with Product with Serializable
exclude current bin from the current cumulative value.
- case object HALF extends CurrentBin with Product with Serializable
half the value of the current bin is included in the current cumulative value.
- case object INCLUDE extends CurrentBin with Product with Serializable
include current bin from the current cumulative value.
- case object INCREASING extends Direction with Product with Serializable
Sum prior bins so that the result increases from left to right.
- case object MAX extends HistFunction with Product with Serializable
Histogram values are equal to the max of the values lying in the bin.
- case object MIN extends HistFunction with Product with Serializable
Histogram values are equal to the min of the values lying in the bin.
- case object NUMBER extends HistNorm with Product with Serializable
The length of each bar corresponds to the number of occurrences.
- case object PERCENT extends HistNorm with Product with Serializable
The length of each bar equals the percentage of occurrences with respect to the total number of points.
- case object PROBABILITY_DENSITY extends HistNorm with Product with Serializable
The area of each bar corresponds to the probability that an event will fall into the corresponding bin (here, the sum of all bin AREAS equals 1).
- case object SUM extends HistFunction with Product with Serializable
Histogram values are equal to the sum of the values lying in the bin.
This is the API documentation for Picta, a graphing library for Scala.
More detailed documentation about using the library can be found at https://acse-fk4517.github.io/picta-docs/.
Click on the following link to get started with the API docs: https://acse-fk4517.github.io/picta-docs/pages/api/org/carbonateresearch/picta/index.html