Skip to content

Commit

Permalink
add some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
pyanfield committed Jun 8, 2013
1 parent b878269 commit ab97de4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion WSCharts/Global/WSBaseChartView.h
Expand Up @@ -69,7 +69,7 @@
If rowWidth value > 0.0 , the x marks are same as WSChartObject's xValue.
If not, will calculate the xMark automatically. The chart view will calculate the min and max x value that display on the x axis.
Then create a array (xMarkTitles) to store all marks.
For now,it means that rowWidth is used in area, line ,column charts.
For now,it means that rowWidth is used in area, line ,column and combo charts. And the value must be > 0
In scatter chart view, please don't set rowWidth.
*/
@property (nonatomic) CGFloat rowWidth;
Expand Down
2 changes: 1 addition & 1 deletion WSCharts/Global/WSBaseChartView.m
Expand Up @@ -156,7 +156,7 @@ - (void)generateXAxisInfos
{
int length = [datas count];
if (self.rowWidth > 0.0) {
//for line, area and column charts
//for line, area, combo and column charts
NSString *oneName = [[colorDict allKeys] objectAtIndex:0];
xMarkTitles = [[NSMutableArray alloc] init];
for (int i=0; i<[datas count]; i++) {
Expand Down

0 comments on commit ab97de4

Please sign in to comment.