Skip to content

Commit

Permalink
11.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ihnatmoisieiev committed Mar 18, 2024
1 parent 8fd4c0f commit fcab123
Show file tree
Hide file tree
Showing 11,971 changed files with 1,241,344 additions and 596,464 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
36 changes: 36 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,39 @@
# Version 11.4.0

## iOS:

1. Removed `.woff2` fonts from the framework, #432
2. Added a privacy manifest file to the framework, #433

## Framework:

1. Added new option `sankey.nodeDistance` and the possibility of setting `sankey.nodeWidth` to `auto`. The same option pair is also supported by organization chart and treegraph series.
2. Enhanced the pinch zoom behavior to redraw the axes and series continuously. Previously it created a preview by scaling the graphs, then did a full review at the end. Also a deeper refactor and unification of the whole zoom, pan and mousewheel logic.
3. Added new option `organization.hangingSide` which allows nodes to hang from the right side in inverted organization charts. See #17240.

## Framework bug fixes:

1. Fixed #20334, chart width exceeded container width on Windows when the chart itself caused page scrollbars.
2. Fixed #20572, destroying a chart after point hover sometimes produced an error.
3. Fixed #15921 by applying `fillColor` to series from `highContrastTheme.colors` if set.
4. Fixed #20166, ticks and gridlines were visible outside the axis in some corner cases.
5. Fixed code scan issues 56, incomplete string escaping or encoding in SVGRenderer, and 72, incomplete multi-character sanitization in SVGRenderer.
6. Fixed code scan issue 73, incomplete multi-character sanitization in SVGElement node title.
7. Fixed code scan issue 90, permissive regex in `mapcharts.js`.
8. Fixed code scan issue 111, potential prototype pollution in `Utilities.ts`.
9. Fixed code scan issue 112, potential prototype pollution in `NavigationBinding.ts`.
10. Fixed #20329, detached elements and events in the Accessibility module produced a memory leak.
11. Fixed #20394, `series.color` only initially impacted the color of x-range points.
12. Fixed #20435, point events update didn't work.
13. Fixed #20516, `this` was not bound to plot line or plot band object in event callbacks.
14. Fixed #20429, toggling bellcurve visibility threw error.
15. Fixed #20440 and #20569, multiple series zones broke graph.
16. Fixed regression since v11.3, column range series had area-style legend marker.
17. Fixed #20433, boosted scatter chart did not work without axis min/max-options.
18. Fixed #20307 and #20301, alignment and overlap detection for rotated data labels didn't work correctly.
19. Fixed #19730, centerInCategory on inverted column chart had incorrect series order.
20. Fixed #20264, the packed bubble series was not rendered correctly in an inverted chart.

# Version 11.3.0

## iOS:
Expand Down
18 changes: 9 additions & 9 deletions Example/HCSwiftUIDemo/Highcharts.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,24 @@
<key>BinaryPath</key>
<string>Highcharts.framework/Highcharts</string>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>Highcharts.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>BinaryPath</key>
<string>Highcharts.framework/Highcharts</string>
<string>Highcharts.framework/Versions/A/Highcharts</string>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-simulator</string>
<string>ios-arm64_x86_64-maccatalyst</string>
<key>LibraryPath</key>
<string>Highcharts.framework</string>
<key>SupportedArchitectures</key>
Expand All @@ -33,24 +36,21 @@
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
<string>maccatalyst</string>
</dict>
<dict>
<key>BinaryPath</key>
<string>Highcharts.framework/Versions/A/Highcharts</string>
<string>Highcharts.framework/Highcharts</string>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-maccatalyst</string>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>Highcharts.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>maccatalyst</string>
</dict>
</array>
<key>CFBundlePackageType</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ Options for configuring accessibility for the chart. Requires the [accessibility
*/
@interface HIAccessibility: HIChartsJSONSerializable

/**
Options for descriptions of individual data points.
*/
@property(nonatomic, readwrite) HIPoint *point;
/**
Amount of landmarks/regions to create for screen reader users. More landmarks can make navigation with screen readers easier, but can be distracting if there are lots of charts on the page. Three modes are available: - `all`: Adds regions for all series, legend, information region. - `one`: Adds a single landmark per chart. - `disabled`: No landmarks are added.
Expand Down Expand Up @@ -55,9 +59,11 @@ Link the chart to an HTML element describing the contents of the chart. It is al
*/
@property(nonatomic, readwrite) NSString *linkedDescription;
/**
Options for descriptions of individual data points.
Controls how `highContrastTheme` is applied. The default option is `auto`, which applies the high contrast theme the user's system has a high contrast theme active.
**Defaults to** `auto`.
*/
@property(nonatomic, readwrite) HIPoint *point;
@property(nonatomic, readwrite) NSString *highContrastMode;
/**
Accessibility options global to all data series. Individual series can also have specific `accessibility options` set.
*/
Expand Down Expand Up @@ -85,7 +91,7 @@ A text description of the chart type. If the Accessibility module is loaded, thi
*/
@property(nonatomic, readwrite) NSString *typeDescription;
/**
Theme to apply to the chart when Windows High Contrast Mode is detected. By default, a high contrast theme matching the high contrast system system colors is used.
Theme to apply to the chart when Windows High Contrast Mode is detected. By default, a high contrast theme matching the high contrast system colors is used.
*/
@property(nonatomic, readwrite) id highContrastTheme;
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ An animation configuration. Animation configurations can also be defined as bool
@interface HIAnimationOptionsObject: HIChartsJSONSerializable

/**
A callback function to exectute when the animation finishes.
A callback function to execute when the animation finishes.
*/
@property(nonatomic, readwrite) HIFunction *complete;
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,16 @@ The minimal width for a line of a sankey. By default, 0 values are not shown.
*/
@property(nonatomic, readwrite) NSNumber *minLinkWidth;
/**
The pixel width of each node in a sankey diagram or dependency wheel, or the height in case the chart is inverted.
The distance between nodes in a sankey diagram in the longitudinal direction. The longitudinal direction means the direction that the chart flows - in a horizontal chart the distance is horizontal, in an inverted chart (vertical), the distance is vertical. If a number is given, it denotes pixels. If a percentage string is given, the distance is a percentage of the rendered node width. A `nodeDistance` of `100%` will render equal widths for the nodes and the gaps between them. This option applies only when the `nodeWidth` option is `auto`, making the node width respond to the number of columns.
**Defaults to** `20`.
**Defaults to** `30`.
**Try it**
* [Sankey with dnode distance of 100% means equal to node width](https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/series-sankey/node-distance)
* [Organization chart with node distance of 50%](https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/series-organization/node-distance)
*/
@property(nonatomic, readwrite) NSNumber *nodeWidth;
@property(nonatomic, readwrite) id /* NSNumber, NSString */ nodeDistance;
/**
Set options on specific levels. Takes precedence over series options, but not node and link options.
Expand All @@ -130,6 +135,17 @@ The width of the border surrounding each column or bar. Defaults to `1` when the
*/
@property(nonatomic, readwrite) NSNumber *borderWidth;
/**
The pixel width of each node in a sankey diagram or dependency wheel, or the height in case the chart is inverted. Can be a number or a percentage string. Sankey series also support setting it to `auto`. With this setting, the nodes are sized to fill up the plot area in the longitudinal direction, regardless of the number of levels.
**Defaults to** `20`.
**Try it**
* [Sankey with auto node width combined with node distance](https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/series-sankey/node-distance)
* [Organization chart with node distance of 50%](https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/series-organization/node-distance)
*/
@property(nonatomic, readwrite) id /* NSNumber, NSString */ nodeWidth;
/**
Opacity for the links between nodes in the sankey diagram.
**Defaults to** `0.5`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ The maximum allowed pixel width for a column, translated to the height of a bar
*/
@property(nonatomic, readwrite) NSNumber *maxPointWidth;
/**
A pixel value specifying a fixed width for each column or bar point. When set to `undefined`, the width is calculated from the `pointPadding` and `groupPadding`. The width effects the dimension that is not based on the point value. For column series it is the hoizontal length and for bar series it is the vertical length.
A pixel value specifying a fixed width for each column or bar point. When set to `undefined`, the width is calculated from the `pointPadding` and `groupPadding`. The width effects the dimension that is not based on the point value. For column series it is the horizontal length and for bar series it is the vertical length.
**Try it**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Enable or disable boost on a chart.
*/
@property(nonatomic, readwrite) NSNumber /* Bool */ *enabled;
/**
Set the series threshold for when the boost should kick in globally. Setting to e.g. 20 will cause the whole chart to enter boost mode if there are 20 or more series active. When the chart is in boost mode, every series in it will be rendered to a common canvas. This offers a significant speed improvment in charts with a very high amount of series.
Set the series threshold for when the boost should kick in globally. Setting to e.g. 20 will cause the whole chart to enter boost mode if there are 20 or more series active. When the chart is in boost mode, every series in it will be rendered to a common canvas. This offers a significant speed improvement in charts with a very high amount of series.
**Defaults to** `50`.
*/
Expand All @@ -63,7 +63,7 @@ Enable or disable pre-allocation of vertex buffers. Enabling this will make it s
*/
@property(nonatomic, readwrite) NSNumber /* Bool */ *usePreallocated;
/**
Enable or disable GPU translations. GPU translations are faster than doing the translation in JavaScript. This option may cause rendering issues with certain datasets. Namely, if your dataset has large numbers with small increments (such as timestamps), it won't work correctly. This is due to floating point precission.
Enable or disable GPU translations. GPU translations are faster than doing the translation in JavaScript. This option may cause rendering issues with certain datasets. Namely, if your dataset has large numbers with small increments (such as timestamps), it won't work correctly. This is due to floating point precision.
**Defaults to** `false`.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ The maximum allowed pixel width for a column, translated to the height of a bar
*/
@property(nonatomic, readwrite) NSNumber *maxPointWidth;
/**
A pixel value specifying a fixed width for each column or bar point. When set to `undefined`, the width is calculated from the `pointPadding` and `groupPadding`. The width effects the dimension that is not based on the point value. For column series it is the hoizontal length and for bar series it is the vertical length.
A pixel value specifying a fixed width for each column or bar point. When set to `undefined`, the width is calculated from the `pointPadding` and `groupPadding`. The width effects the dimension that is not based on the point value. For column series it is the horizontal length and for bar series it is the vertical length.
**Try it**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ Options for specific range. One range consists of bubble, label and connector.
*/
@property(nonatomic, readwrite) NSArray <HIRanges *> *ranges;
/**
Miximum bubble legend range size. If values for ranges are not specified, the `minSize` and the `maxSize` are calculated from bubble series.
Maximum bubble legend range size. If values for ranges are not specified, the `minSize` and the `maxSize` are calculated from bubble series.
**Defaults to** `60`.
*/
Expand Down Expand Up @@ -138,7 +138,7 @@ An additional class name to apply to the bubble legend's connector graphical ele
*/
@property(nonatomic, readwrite) NSString *connectorClassName;
/**
Ranges with with lower value than zThreshold, are skipped.
Ranges with lower value than zThreshold are skipped.
*/
@property(nonatomic, readwrite) NSNumber *zThreshold;
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
@interface HIBullet: HISeries

/**
All options related with look and positiong of targets.
All options related with look and positioning of targets.
*/
@property(nonatomic, readwrite) HITargetOptions *targetOptions;
/**
Expand Down Expand Up @@ -127,7 +127,7 @@ The maximum allowed pixel width for a column, translated to the height of a bar
*/
@property(nonatomic, readwrite) NSNumber *maxPointWidth;
/**
A pixel value specifying a fixed width for each column or bar point. When set to `undefined`, the width is calculated from the `pointPadding` and `groupPadding`. The width effects the dimension that is not based on the point value. For column series it is the hoizontal length and for bar series it is the vertical length.
A pixel value specifying a fixed width for each column or bar point. When set to `undefined`, the width is calculated from the `pointPadding` and `groupPadding`. The width effects the dimension that is not based on the point value. For column series it is the horizontal length and for bar series it is the vertical length.
**Try it**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,14 @@ An explicit height for the chart. If a _number_, the height is given in pixels.
*/
@property(nonatomic, readwrite) id /* NSNumber, NSString */ height;
/**
Additional CSS styles to apply inline to the container `div` and the root SVG. Since v11, the root font size is 1rem by default, and all child element are given a relative `em` font size by default. This allows implementers to control all the chart's font sizes by only setting the root level.
Additional CSS styles to apply inline to the container `div` and the root SVG. According to the CSS syntax documentation, it is recommended to quote font family names that contain white space, digits, or punctuation characters other than hyphens. In such cases, wrap the fontFamily name as follows: `fontFamily: '"Font name"'`. Since v11, the root font size is 1rem by default, and all child element are given a relative `em` font size by default. This allows implementers to control all the chart's font sizes by only setting the root level.
**Defaults to** `{"fontFamily": Helvetica, Arial, sans-serif","fontSize":"1rem"}`.
**Try it**
* [Using a serif type font](https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/chart/style-serif-font/)
* [Using a font with special character in name](https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/chart/style-special-font/)
* [Relative font sizes](https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/members/relative-font-size/)
* [Styled mode with relative font sizes](https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/css/em/)
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ The maximum allowed pixel width for a column, translated to the height of a bar
*/
@property(nonatomic, readwrite) NSNumber *maxPointWidth;
/**
A pixel value specifying a fixed width for each column or bar point. When set to `undefined`, the width is calculated from the `pointPadding` and `groupPadding`. The width effects the dimension that is not based on the point value. For column series it is the hoizontal length and for bar series it is the vertical length.
A pixel value specifying a fixed width for each column or bar point. When set to `undefined`, the width is calculated from the `pointPadding` and `groupPadding`. The width effects the dimension that is not based on the point value. For column series it is the horizontal length and for bar series it is the vertical length.
**Try it**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ The maximum allowed pixel width for a column, translated to the height of a bar
*/
@property(nonatomic, readwrite) NSNumber *maxPointWidth;
/**
A pixel value specifying a fixed width for each column or bar point. When set to `undefined`, the width is calculated from the `pointPadding` and `groupPadding`. The width effects the dimension that is not based on the point value. For column series it is the hoizontal length and for bar series it is the vertical length.
A pixel value specifying a fixed width for each column or bar point. When set to `undefined`, the width is calculated from the `pointPadding` and `groupPadding`. The width effects the dimension that is not based on the point value. For column series it is the horizontal length and for bar series it is the vertical length.
**Try it**
Expand Down
Loading

0 comments on commit fcab123

Please sign in to comment.