diff --git a/Documentation/XChartsAPI-EN.md b/Documentation/XChartsAPI-EN.md index e8b2ea9b..5d457be8 100644 --- a/Documentation/XChartsAPI-EN.md +++ b/Documentation/XChartsAPI-EN.md @@ -482,7 +482,7 @@ Inherits or Implemented: [Attribute](#Attribute) ## `GridCoordContext` -Inherits or Implemented: [MainComponentContext](#MainComponentContext),[IRectContext](#IRectContext) +Inherits or Implemented: [MainComponentContext](#MainComponentContext) ## `HeatmapChart` @@ -703,6 +703,10 @@ Inherits or Implemented: [Attribute](#Attribute) ## `SerieDataContext` +|public method|description| +|--|--| +| `Reset` |public void Reset()
| + ## `SerieExtraComponentAttribute` Inherits or Implemented: [Attribute](#Attribute) @@ -931,6 +935,7 @@ Inherits or Implemented: [MaskableGraphic](#MaskableGraphic) | `GetVertialDire` |public static Vector3 GetVertialDire(Vector3 dire)
| | `IsClearColor` |public static bool IsClearColor(Color color)
| | `IsClearColor` |public static bool IsClearColor(Color32 color)
| +| `IsPointInTriangle` |public static bool IsPointInTriangle(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 check)
| | `IsValueEqualsColor` |public static bool IsValueEqualsColor(Color color1, Color color2)
| | `IsValueEqualsColor` |public static bool IsValueEqualsColor(Color32 color1, Color32 color2)
| | `IsValueEqualsList` |public static bool IsValueEqualsList(List list1, List list2)
| @@ -951,7 +956,9 @@ Inherits or Implemented: [MainComponentContext](#MainComponentContext) |--|--| | `AutoSetLineMinMax` |public static void AutoSetLineMinMax(VisualMap visualMap, Serie serie, bool isY, Axis axis, Axis relativedAxis)
| | `GetDimension` |public static int GetDimension(VisualMap visualMap, int serieDataCount)
| +| `IsNeedAreaGradient` |public static bool IsNeedAreaGradient(VisualMap visualMap)
| | `IsNeedGradient` |public static bool IsNeedGradient(VisualMap visualMap)
| +| `IsNeedLineGradient` |public static bool IsNeedLineGradient(VisualMap visualMap)
| | `SetMinMax` |public static void SetMinMax(VisualMap visualMap, double min, double max)
| ## `XChartsMgr` diff --git a/Documentation/XChartsAPI-ZH.md b/Documentation/XChartsAPI-ZH.md index 6474e237..5d8e6ab1 100644 --- a/Documentation/XChartsAPI-ZH.md +++ b/Documentation/XChartsAPI-ZH.md @@ -482,7 +482,7 @@ Inherits or Implemented: [Attribute](#Attribute) ## `GridCoordContext` -Inherits or Implemented: [MainComponentContext](#MainComponentContext),[IRectContext](#IRectContext) +Inherits or Implemented: [MainComponentContext](#MainComponentContext) ## `HeatmapChart` @@ -703,6 +703,10 @@ Inherits or Implemented: [Attribute](#Attribute) ## `SerieDataContext` +|public method|description| +|--|--| +| `Reset` |public void Reset()
| + ## `SerieExtraComponentAttribute` Inherits or Implemented: [Attribute](#Attribute) @@ -931,6 +935,7 @@ Inherits or Implemented: [MaskableGraphic](#MaskableGraphic) | `GetVertialDire` |public static Vector3 GetVertialDire(Vector3 dire)
| | `IsClearColor` |public static bool IsClearColor(Color color)
| | `IsClearColor` |public static bool IsClearColor(Color32 color)
| +| `IsPointInTriangle` |public static bool IsPointInTriangle(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 check)
| | `IsValueEqualsColor` |public static bool IsValueEqualsColor(Color color1, Color color2)
| | `IsValueEqualsColor` |public static bool IsValueEqualsColor(Color32 color1, Color32 color2)
| | `IsValueEqualsList` |public static bool IsValueEqualsList(List list1, List list2)
| @@ -951,7 +956,9 @@ Inherits or Implemented: [MainComponentContext](#MainComponentContext) |--|--| | `AutoSetLineMinMax` |public static void AutoSetLineMinMax(VisualMap visualMap, Serie serie, bool isY, Axis axis, Axis relativedAxis)
| | `GetDimension` |public static int GetDimension(VisualMap visualMap, int serieDataCount)
| +| `IsNeedAreaGradient` |public static bool IsNeedAreaGradient(VisualMap visualMap)
| | `IsNeedGradient` |public static bool IsNeedGradient(VisualMap visualMap)
| +| `IsNeedLineGradient` |public static bool IsNeedLineGradient(VisualMap visualMap)
| | `SetMinMax` |public static void SetMinMax(VisualMap visualMap, double min, double max)
| ## `XChartsMgr` diff --git a/Documentation/XChartsConfiguration-EN.md b/Documentation/XChartsConfiguration-EN.md index ab39d2c2..83b00646 100644 --- a/Documentation/XChartsConfiguration-EN.md +++ b/Documentation/XChartsConfiguration-EN.md @@ -1307,7 +1307,8 @@ VisualMap component. Mapping data to visual elements such as colors. |field|default|comment| |--|--|--| -| `show` |true | Whether to display components. If set to false, it will not show up, but the data mapping function still exists. | +| `show` |true | Whether to enable components. | +| `showUI` |false | Whether to display components. If set to false, it will not show up, but the data mapping function still exists. | | `type` | | the type of visualmap component.
`Painter.Type`:
- `Base`:
- `Serie`:
- `Top`:
| | `selectedMode` | | the selected mode for Piecewise visualMap.
`VisualMap.SelectedMode`:
- `Multiple`: 多选。
- `Single`: 单选。
| | `serieIndex` |0 | the serie index of visualMap. | @@ -1328,6 +1329,8 @@ VisualMap component. Mapping data to visual elements such as colors. | `autoMinMax` |true | Automatically set min, Max value 自动设置min,max的值 | | `orient` | | Specify whether the layout of component is horizontal or vertical.
`Orient`:
- `Horizonal`: 水平
- `Vertical`: 垂直
| | `location` | | The location of component.
`AxisName.Location`:
- `Start`: the location of axis name.
- `Middle`: the location of axis name.
- `End`: the location of axis name.
- `align`: 对齐方式。
- `left`: Distance between component and the left side of the container.
- `right`: Distance between component and the left side of the container.
- `top`: Distance between component and the left side of the container.
- `bottom`: Distance between component and the left side of the container.
| +| `workOnLine` |true | Whether the visualmap is work on linestyle of linechart. | +| `workOnArea` |false | Whether the visualmap is work on areaStyle of linechart. | | `inRange` | | Defines the visual color in the selected range. | | `outOfRange` | | Defines a visual color outside of the selected range. | | `pieces` | | 分段式每一段的相关配置。 | diff --git a/Documentation/XChartsConfiguration-ZH.md b/Documentation/XChartsConfiguration-ZH.md index 823d425b..5f53e1e1 100644 --- a/Documentation/XChartsConfiguration-ZH.md +++ b/Documentation/XChartsConfiguration-ZH.md @@ -1307,7 +1307,8 @@ Inherits or Implemented: [MainComponent](#MainComponent) |field|default|comment| |--|--|--| -| `show` |true | 是否显示组件。如果设置为 false,不会显示,但是数据映射的功能还存在。 [default: true] | +| `show` |true | 组件是否生效。 | +| `showUI` |false | 是否显示组件。如果设置为 false,不会显示,但是数据映射的功能还存在。 | | `type` | | 组件类型。
`Painter.Type`:
- `Base`:
- `Serie`:
- `Top`:
| | `selectedMode` | | 选择模式。
`VisualMap.SelectedMode`:
- `Multiple`: 多选。
- `Single`: 单选。
| | `serieIndex` |0 | 影响的serie索引。 | @@ -1328,6 +1329,8 @@ Inherits or Implemented: [MainComponent](#MainComponent) | `autoMinMax` |true | Automatically set min, Max value 自动设置min,max的值 | | `orient` | | 布局方式是横还是竖。
`Orient`:
- `Horizonal`: 水平
- `Vertical`: 垂直
| | `location` | | 组件显示的位置。
`AxisName.Location`:
- `Start`: 坐标轴名称显示位置。
- `Middle`: 坐标轴名称显示位置。
- `End`: 坐标轴名称显示位置。
- `align`: 对齐方式。
- `left`: 离容器左侧的距离。
- `right`: 离容器右侧的距离。
- `top`: 离容器上侧的距离。
- `bottom`: 离容器下侧的距离。
| +| `workOnLine` |true | 组件是否对LineChart的LineStyle有效。 | +| `workOnArea` |false | 组件是否对LineChart的AreaStyle有效。 | | `inRange` | | 定义 在选中范围中 的视觉颜色。 | | `outOfRange` | | 定义 在选中范围外 的视觉颜色。 | | `pieces` | | 分段式每一段的相关配置。 |