Skip to content

Commit

Permalink
1.1 Release #2
Browse files Browse the repository at this point in the history
  • Loading branch information
mll committed Aug 21, 2017
1 parent 8deeb2d commit 1de0611
Show file tree
Hide file tree
Showing 776 changed files with 106,177 additions and 0 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
/**
* (c) 2009-2017 Highsoft AS
*
* License: www.highcharts.com/license
* For commercial usage, a valid license is required. To purchase a license for Highcharts iOS, please see our website: https://shop.highsoft.com/
* In case of questions, please contact [email protected]
*/

#import "HIAccessibilityKeyboardNavigation.h"


/**
* description: Options for configuring accessibility for the chart. Requires the //code.highcharts.com/modules/accessibility.js : accessibility module to be loaded. For a description of the module and information on its features, see http://www.highcharts.com/docs/chart-concepts/accessibility : Highcharts Accessibility.
*/
@interface HIAccessibility: HIChartsJSONSerializable

/**
* description: Date format to use for points on datetime axes when describing them to screen reader users.
Defaults to the same format as in tooltip.
For an overview of the replacement codes, see dateFormat.
*/
@property(nonatomic, readwrite) NSString *pointDateFormat;
/**
* description: Options for keyboard navigation.
*/
@property(nonatomic, readwrite) HIAccessibilityKeyboardNavigation *keyboardNavigation;
/**
* description: Function to run upon clicking the "View as Data Table" link in the screen reader region.
By default Highcharts will insert and set focus to a data table representation of the chart.
*/
@property(nonatomic, readwrite) NSString /* Function */ *onTableAnchorClick;
/**
* description: A formatter function to create the HTML contents of the hidden screen reader information region. Receives one argument, chart, referring to the chart object. Should return a String with the HTML content of the region.
The link to view the chart as a data table will be added automatically after the custom HTML content.
* default: undefined
*/
@property(nonatomic, readwrite) NSString /* Function */ *screenReaderSectionFormatter;
/**
* description: Formatter function to determine the date/time format used with points on datetime axes when describing them to screen reader users. Receives one argument, point, referring to the point to describe. Should return a date format string compatible with dateFormat.
*/
@property(nonatomic, readwrite) NSString /* Function */ *pointDateFormatter;
/**
* description: Whether or not to add series descriptions to charts with a single series.
* default: false
*/
@property(nonatomic, readwrite) NSNumber /* Bool */ *describeSingleSeries;
/**
* description: When a series contains more points than this, we no longer expose information about individual points to screen readers.
Set to false to disable.
* demo: http://jsfiddle.net/gh/get/jquery/3.1.1/highcharts/highcharts/tree/master/samples/stock/accessibility/accessible-stock/ : Accessible stock chart
* default: 30
*/
@property(nonatomic, readwrite) NSNumber *pointDescriptionThreshold;
/**
* description: Enable accessibility features for the chart.
* default: true
*/
@property(nonatomic, readwrite) NSNumber /* Bool */ *enabled;
/**
* description: Formatter function to use instead of the default for point descriptions. Receives one argument, point, referring to the point to describe. Should return a String with the description of the point for a screen reader user.
* demo: http://jsfiddle.net/gh/get/jquery/3.1.1/highcharts/highcharts/tree/master/samples/highcharts/accessibility/advanced-accessible/ : Complex accessible chart
*/
@property(nonatomic, readwrite) NSString /* Function */ *pointDescriptionFormatter;
/**
* description: Formatter function to use instead of the default for series descriptions. Receives one argument, series, referring to the series to describe. Should return a String with the description of the series for a screen reader user.
* demo: http://jsfiddle.net/gh/get/jquery/3.1.1/highcharts/highcharts/tree/master/samples/highcharts/accessibility/advanced-accessible/ : Accessible complex chart
*/
@property(nonatomic, readwrite) NSString /* Function */ *seriesDescriptionFormatter;

-(NSDictionary *)getParams;

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/**
* (c) 2009-2017 Highsoft AS
*
* License: www.highcharts.com/license
* For commercial usage, a valid license is required. To purchase a license for Highcharts iOS, please see our website: https://shop.highsoft.com/
* In case of questions, please contact [email protected]
*/

#import "HIChartsJSONSerializable.h"


/**
* description: Options for keyboard navigation.
*/
@interface HIAccessibilityKeyboardNavigation: HIChartsJSONSerializable

/**
* description: Skip null points when navigating through points with the keyboard.
* demo: http://jsfiddle.net/gh/get/jquery/3.1.1/highcharts/highcharts/tree/master/samples/highcharts/accessibility/advanced-accessible/ : Accessible complex chart
* default: false
*/
@property(nonatomic, readwrite) NSNumber /* Bool */ *skipNullPoints;
/**
* description: Enable keyboard navigation for the chart.
* default: true
*/
@property(nonatomic, readwrite) NSNumber /* Bool */ *enabled;

-(NSDictionary *)getParams;

@end
Loading

0 comments on commit 1de0611

Please sign in to comment.