Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Inhalt:

...

Anchor
LineConfig
LineConfig
Konfiguration Linien und Punkte

Properties
PointShape

The shape of individual data elements: 'circle', 'triangle', 'square', 'diamond', 'star', or 'polygon'.

Code Block
languagejava
themeEclipse
this.lineChartareaChart.setPointShape(PointShape.New(PointShape.Type.CIRCLE));

For detailed informations see: https://developers.google.com/chart/interactive/docs/points

PointSize

Diameter of displayed points in pixels. Use zero to hide all points. You can override values for individual series using the series property. If you're using a trendline, the pointSize option will affect the width of the trendline unless you override it with the trendlines.n.pointsize option.

Code Block
languagejava
themeEclipse
this.lineChartareaChart.setPointSize(5);


PointVisible

Determines whether points will be displayed. Set to false to hide all points.

Code Block
languagejava
themeEclipse
areaChart.setPointsVisible(true);


LineDashStyle

The on-and-off pattern for dashed lines. For instance, [4, 4] will repeat 4-length dashes followed by 4-length gaps, and [5, 1, 3] will repeat a 5-length dash, a 1-length gap, a 3-length dash, a 5-length gap, a 1-length dash, and a 3-length gap. See Dashed Lines for more information.

Code Block
languagejava
themeEclipse
thisareaChart.lineChart.setLineDashStyle(Arrays.asList(4,4,4));


LineWidth

Data line width in pixels. Use zero to hide all lines and show only the points. You can override values for individual series using the series property.

Code Block
languagejava
themeEclipse
this.lineChartareaChart.setLineWidth(5);


SelectionMode

When selectionMode is 'multiple', users may select multiple data points.

Code Block
languagejava
themeEclipse
areaChart.setSelectionMode(SelectionMode.MULTIPLE);


CurveTypeControls the curve of the lines when the line width is not zero. Can be one of the followingOrientation

The orientation of the chart. When set to 'vertical', rotates the axes of the chart so that (for instance) a column chart becomes a bar chart, and an area chart grows rightward instead of up:

Code Block
languagejava
themeEclipse
thisareaChart.lineChart.setCurveTypesetOrientation(CurveTypeOrientation.FUNCTION);HORIZONTAL);


DataOpacity

The transparency of data points, with 1.0 being completely opaque and 0.0 fully transparent.

Code Block
languagejava
themeEclipse