Skip to content

Commit 59e1300

Browse files
committed
Added new configurations from latest Amcharts 4.9.9
1 parent 9801e92 commit 59e1300

File tree

6 files changed

+32
-2
lines changed

6 files changed

+32
-2
lines changed

src/main/java/gwt/material/design/amcharts/client/axis/DateAxis.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ public class DateAxis extends ValueAxis {
6666
@JsProperty
6767
public boolean skipEmptyPeriods;
6868

69+
@JsProperty
70+
public JsDate tooltipDate;
71+
6972
@JsProperty
7073
public String tooltipDateFormat;
7174

src/main/java/gwt/material/design/amcharts/client/cursor/Cursor.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,7 @@ public class Cursor extends Container {
5959

6060
@JsMethod
6161
public native void triggerUp(Point point);
62+
63+
@JsMethod
64+
public native void triggerMove(Point point, String stick, boolean force);
6265
}

src/main/java/gwt/material/design/amcore/client/base/SVGContainer.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ public class SVGContainer extends Sprite {
5555
@JsProperty
5656
public double width;
5757

58+
@JsProperty
59+
public Element readerAlertElement;
60+
5861
@JsMethod
5962
public native void closeAllPopups();
6063

@@ -70,7 +73,6 @@ public class SVGContainer extends Sprite {
7073
@JsMethod
7174
public native Modal openModal(String text, String title);
7275

73-
7476
@JsMethod
7577
public native Modal openModal(String text);
7678

@@ -79,4 +81,7 @@ public class SVGContainer extends Sprite {
7981

8082
@JsMethod
8183
public native Popup openPopup(String text);
84+
85+
@JsMethod
86+
public native void readerAlert(String text);
8287
}

src/main/java/gwt/material/design/amcore/client/export/Export.java

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,12 @@ public class Export {
5858
public Color backgroundColor;
5959

6060
/**
61-
* reference to a container to be used to place ExportMenu in.
61+
*
62+
* @JsPropert
63+
* /**
64+
* Holds an array of data field names. If set, exported data fields will try to maintain this order.Holds an array of data field names. If set, exported data fields will try to maintain this order.Holds an array of data field names. If set, exported data fields will try to maintain this order.y
65+
* public String[
66+
dataFieldsOrder; * reference to a container to be used to place ExportMenu in.
6267
*/
6368
@JsProperty
6469
public Element container;
@@ -69,6 +74,14 @@ public class Export {
6974
@JsProperty
7075
public Object data;
7176

77+
/**
78+
* Holds an array of data field names. If set, exported data fields will try to maintain this order.
79+
*
80+
* If not set (default), the export will try to maintain the same order as in source data, or as in dataFields (if set).
81+
*/
82+
@JsProperty
83+
public String[] dataFieldsOrder;
84+
7285
/**
7386
* Data fields in { field: fieldName } format. Those are used for exporting in data formats to name the columns.
7487
* see https://www.amcharts.com/docs/v4/concepts/exporting/#Changing_order_and_names_of_columns for examples and details.

src/main/java/gwt/material/design/ammaps/client/base/MapLine.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ public class MapLine extends MapObject {
5858
@JsProperty
5959
public boolean shortestDistance;
6060

61+
@JsProperty
62+
public double precision;
63+
6164
@JsMethod
6265
public native void copyFrom(MapLine source);
6366

src/main/java/gwt/material/design/ammaps/client/base/MapPolygon.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ public class MapPolygon extends MapObject {
5353
@JsProperty
5454
public MapPolygonSeries series;
5555

56+
@JsProperty
57+
public double precision;
58+
5659
@JsProperty
5760
public DictionaryTemplate<String, SpriteState<MapPolygonProperties>> states;
5861

0 commit comments

Comments
 (0)