Skip to content
This repository has been archived by the owner on Dec 2, 2020. It is now read-only.

Commit

Permalink
Changed behavior of property 'enableXAxisLabel'
Browse files Browse the repository at this point in the history
- Changed documentation for ‘enableXAxisLabel’
- ‘enableXAxisLabel’ now defaults to YES. This way implementing the
method ‘labelOnXAxisForIndex’ is enough to display the labels.
‘enableXAxisLabel’ becomes an option.
  • Loading branch information
Boris-Em committed Nov 2, 2014
1 parent 2abb860 commit c46ccb9
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
3 changes: 2 additions & 1 deletion Classes/BEMSimpleLineGraphView.h
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,8 @@
@property (nonatomic) BOOL enableYAxisLabel;


/** Show X-Axis label on the side. Default value is NO.
/** Show X-Axis label at the bottom of the graph. Default value is YES.
@see \p labelOnXAxisForIndex
*/
@property (nonatomic) BOOL enableXAxisLabel;

Expand Down
2 changes: 1 addition & 1 deletion Classes/BEMSimpleLineGraphView.m
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ - (void)commonInit {
_enableTouchReport = NO;
_enablePopUpReport = NO;
_enableBezierCurve = NO;
_enableXAxisLabel = NO;
_enableXAxisLabel = YES;
_enableYAxisLabel = NO;
_YAxisLabelXOffset = 0;
_autoScaleYAxis = YES;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,29 +10,29 @@
<string>SimpleLineChart</string>
<key>IDESourceControlProjectOriginsDictionary</key>
<dict>
<key>0A440630-CD17-4098-B4B4-CB6D9CEA2228</key>
<key>1CA8AD815677B6FB0DD135F65EC4576AE68426CF</key>
<string>https://github.com/Boris-Em/BEMSimpleLineGraph.git</string>
</dict>
<key>IDESourceControlProjectPath</key>
<string>Sample Project/SimpleLineChart.xcodeproj/project.xcworkspace</string>
<string>Sample Project/SimpleLineChart.xcodeproj</string>
<key>IDESourceControlProjectRelativeInstallPathDictionary</key>
<dict>
<key>0A440630-CD17-4098-B4B4-CB6D9CEA2228</key>
<key>1CA8AD815677B6FB0DD135F65EC4576AE68426CF</key>
<string>../../..</string>
</dict>
<key>IDESourceControlProjectURL</key>
<string>https://github.com/Boris-Em/BEMSimpleLineGraph.git</string>
<key>IDESourceControlProjectVersion</key>
<integer>110</integer>
<integer>111</integer>
<key>IDESourceControlProjectWCCIdentifier</key>
<string>0A440630-CD17-4098-B4B4-CB6D9CEA2228</string>
<string>1CA8AD815677B6FB0DD135F65EC4576AE68426CF</string>
<key>IDESourceControlProjectWCConfigurations</key>
<array>
<dict>
<key>IDESourceControlRepositoryExtensionIdentifierKey</key>
<string>public.vcs.git</string>
<key>IDESourceControlWCCIdentifierKey</key>
<string>0A440630-CD17-4098-B4B4-CB6D9CEA2228</string>
<string>1CA8AD815677B6FB0DD135F65EC4576AE68426CF</string>
<key>IDESourceControlWCCName</key>
<string>BEMSimpleLineGraph</string>
</dict>
Expand Down
Binary file not shown.

0 comments on commit c46ccb9

Please sign in to comment.