@grapecity/wijmo.chart 5.20241.9 → 5.20241.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * Wijmo Library 5.20241.9
3
+ * Wijmo Library 5.20241.19
4
4
  * https://developer.mescius.com/wijmo
5
5
  *
6
6
  * Copyright(c) MESCIUS inc. All rights reserved.
@@ -607,6 +607,7 @@ export declare class _SvgRenderEngine implements IRenderEngine {
607
607
  private _isRtl;
608
608
  private _precision;
609
609
  private _options;
610
+ _htmlText: boolean;
610
611
  constructor(element?: HTMLElement);
611
612
  attach(el: HTMLElement): void;
612
613
  detach(): void;
@@ -635,8 +636,15 @@ export declare class _SvgRenderEngine implements IRenderEngine {
635
636
  drawPieSegment(cx: number, cy: number, r: number, startAngle: number, sweepAngle: number, className?: string, style?: any, clipPath?: string): SVGElement;
636
637
  drawDonutSegment(cx: number, cy: number, radius: number, innerRadius: number, startAngle: number, sweepAngle: number, className?: string, style?: any, clipPath?: string): SVGElement;
637
638
  drawString(s: string, pt: Point, className?: string, style?: any): SVGElement;
639
+ _isHtmlString(s: string): boolean;
640
+ _drawString(s: string, pt: Point, className?: string, style?: any): SVGElement;
641
+ _drawStringHtml(s: string, pt: Point, className?: string, style?: any): SVGElement;
638
642
  drawStringRotated(s: string, pt: Point, center: Point, angle: number, className?: string, style?: any): SVGElement;
643
+ _drawStringRotated(s: string, pt: Point, center: Point, angle: number, className?: string, style?: any): SVGElement;
644
+ _drawStringRotatedHtml(s: string, pt: Point, center: Point, angle: number, className?: string, style?: any): SVGElement;
639
645
  measureString(s: string, className?: string, groupName?: string, style?: any): Size;
646
+ _measureString(s: string, className?: string, groupName?: string, style?: any): Size;
647
+ _measureStringHtml(s: string, className?: string, groupName?: string, style?: any): Size;
640
648
  startGroup(className?: string, clipPath?: string, createTransform?: boolean): SVGElement;
641
649
  endGroup(): void;
642
650
  drawImage(imageHref: string, x: number, y: number, w: number, h: number): SVGElement;
@@ -1004,6 +1012,21 @@ export declare class FlexChartBase<T = any> extends Control implements _IPalette
1004
1012
  * {@sample: Chart/LineArea/CustomLineSegments/purejs Example}
1005
1013
  */
1006
1014
  itemFormatter: Function;
1015
+ /**
1016
+ * Gets or sets various chart options.
1017
+ *
1018
+ * The following options are supported:
1019
+ *
1020
+ * <b>htmlText</b>: If true, it allows to use HTML tags in chart text elements like header, footer
1021
+ * legend, axis and data labels. The default value is false.
1022
+ *
1023
+ * <pre>chart.header: 'Country <b>GDP</b>';
1024
+ * chart.options = {
1025
+ * htmlText: true
1026
+ * }</pre>
1027
+ *
1028
+ */
1029
+ options: any;
1007
1030
  /**
1008
1031
  * Occurs before the chart starts rendering data.
1009
1032
  */
@@ -1161,6 +1184,7 @@ export declare class FlexChartBase<T = any> extends Control implements _IPalette
1161
1184
  _getHostComputedStyle(): CSSStyleDeclaration;
1162
1185
  _find(elem: SVGElement, names: string[]): any[];
1163
1186
  _getLegendSize(sz: number, lsz: number): number;
1187
+ _isHtmlText(): boolean;
1164
1188
  static _contains(rect: Rect, pt: Point): boolean;
1165
1189
  static _intersects(rect1: Rect, rect2: Rect): boolean;
1166
1190
  static _epoch: number;
@@ -1632,6 +1656,14 @@ export declare class FlexChart extends FlexChartCore {
1632
1656
  *
1633
1657
  * The following options are supported:
1634
1658
  *
1659
+ * <b>htmlText</b>: If true, it allows to use HTML tags in chart text elements like header, footer
1660
+ * legend, axis and data labels. The default value is false.
1661
+ *
1662
+ * <pre>chart.header: 'Country <b>GDP</b>';
1663
+ * chart.options = {
1664
+ * htmlText: true
1665
+ * }</pre>
1666
+ *
1635
1667
  * <b>bubble.maxSize</b>: Specifies the maximum size
1636
1668
  * of symbols in the Bubble chart. The default value is 30 pixels.
1637
1669
  *