All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.fluorumlabs.disconnect.highcharts.PlotVbpDataLabelsStyleOptions Maven / Gradle / Ivy

There is a newer version: 0.1.0-alpha2
Show newest version
package com.github.fluorumlabs.disconnect.highcharts;

import java.lang.String;
import javax.annotation.Nullable;
import js.lang.Any;
import org.teavm.jso.JSProperty;

/**
 * (Highstock) Styles for the label. The default color setting is
 * "contrast", which is a pseudo color that Highcharts picks up and applies
 * the maximum contrast to the underlying point item, for example the bar in a
 * bar chart.
 *
 * The textOutline is a pseudo property that applies an outline of the given
 * width with the given color, which by default is the maximum contrast to the
 * text. So a bright text color will result in a black text outline for maximum
 * readability on a mixed background. In some cases, especially with grayscale
 * text, the text outline doesn't work well, in which cases it can be disabled
 * by setting it to "none". When useHTML is true, the textOutline will not
 * be picked up. In this, case, the same effect can be acheived through the
 * text-shadow CSS property.
 *
 * For some series types, where each point has an extent, like for example tree
 * maps, the data label may overflow the point. There are two strategies for
 * handling overflow. By default, the text will wrap to multiple lines. The
 * other strategy is to set style.textOverflow to ellipsis, which will keep
 * the text on one line plus it will break inside long words.
 *
 * @see https://api.highcharts.com/highstock/plotOptions.vbp.dataLabels.style
 *
 */
public interface PlotVbpDataLabelsStyleOptions extends Any {
  /**
   * @implspec fontSize?: string;
   *
   */
  @JSProperty("fontSize")
  @Nullable
  String getFontSize();

  /**
   * @implspec fontSize?: string;
   *
   */
  @JSProperty("fontSize")
  void setFontSize(String value);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy