Enum CurveStyle
Stay organized with collections
Save and categorize content based on your preferences.
CurveStyle
An enumeration of the styles for curves in a chart.
To call an enum, you call its parent class, name, and property. For example,
Charts.CurveStyle.NORMAL
.
Properties
Property | Type | Description |
NORMAL | Enum | Straight lines without curve. |
SMOOTH | Enum | The angles of the line are smoothed. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-02 UTC.
[null,null,["Last updated 2024-12-02 UTC."],[[["\u003cp\u003e\u003ccode\u003eCurveStyle\u003c/code\u003e is used to define the appearance of lines in charts.\u003c/p\u003e\n"],["\u003cp\u003eIt offers two options: \u003ccode\u003eNORMAL\u003c/code\u003e for straight lines and \u003ccode\u003eSMOOTH\u003c/code\u003e for curved lines.\u003c/p\u003e\n"],["\u003cp\u003eTo use it, call it with \u003ccode\u003eCharts.CurveStyle\u003c/code\u003e followed by the desired property, like \u003ccode\u003eCharts.CurveStyle.SMOOTH\u003c/code\u003e.\u003c/p\u003e\n"]]],["`CurveStyle` is an enumeration defining curve styles in a chart. It contains two properties: `NORMAL`, which renders straight lines, and `SMOOTH`, which smooths the angles of lines. To use these styles, reference them via `Charts.CurveStyle.PROPERTY_NAME`, for example, `Charts.CurveStyle.NORMAL`. The properties are accessed as enums.\n"],null,["# Enum CurveStyle\n\nCurveStyle\n\nAn enumeration of the styles for curves in a chart.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nCharts.CurveStyle.NORMAL`. \n\n### Properties\n\n| Property | Type | Description |\n|----------|--------|--------------------------------------|\n| `NORMAL` | `Enum` | Straight lines without curve. |\n| `SMOOTH` | `Enum` | The angles of the line are smoothed. |"]]