You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** The number of fingers required to report touches to the graph's delegate. The default value is 1.
164
164
@discussion Setting this value to greater than 1 might be beneficial in interfaces that allow the graph to scroll and still want to use touch reporting. */
/// If set to YES, a label will pop up on the graph when the user touches it. It will be displayed on top of the closest point from the user current touch location. Default value is NO.
169
169
@property (nonatomic) BOOL enablePopUpReport;
170
170
171
171
172
172
/// If set to YES, the graph will react to pinch/zoom gesture to allow user to focus on one section of data. When zoomed, double-finger paning means "move graph" and double-tap will restore scale. Default value is NO.
@discussion The number of strings to be returned should be equal to the number of points in the graph (returned in \p numberOfPointsInLineGraph). Otherwise, an exception may be thrown.
422
422
@param graph The graph object which is requesting the label on the specified X-Axis position.
423
423
@param index The index from left to right of a given label on the X-axis. Is the same index as the one for the points. The first value for the index is 0. */
@param graph The graph object requesting the total number of points.
477
477
@return The text to substitute for the popup. If nil is returned, the popup text will be derived using the given data point and any supplied suffix and / or prefix. */
@discussion For example returning '1' would mean that half of the labels on the X-axis are not displayed: the first is not displayed, the second is, the third is not etc. Returning '0' would mean that all of the labels will be displayed. Finally, returning a value equal to the number of labels will only display the first and last label.
579
579
@param graph The graph object which is requesting the number of gaps between the labels.
580
580
@return The number of labels to "jump" between each displayed label on the X-axis. */
/** The increment to apply when drawing X-Axis labels. This increment is applied to the base x axis index. MUST ALSO IMPLEMENT baseIndexForXAxisOnLineGraph FOR THIS TO TAKE EFFECT
592
592
@discussion This allows you to set a custom interval in drawing x axis labels. When this is set in conjuction with baseIndexForXAxisOnLineGraph, `numberOfGapsBetweenLabelsOnLineGraph` is ignored
593
593
@param graph The graph object which is requesting the number of gaps between the labels.
/** The total number of X-axis labels on the line graph.
614
614
@discussion Calculates the total wdith of the graph and evenly spaces the labels based on the graph width. If this and lineGraph:locationForPointAtIndex: are implemented, labels may diverge from data points
0 commit comments