Configuring Category Axis Clustering Mode
Send Feedback

Glossary Item Box

Topic Overview

Purpose

This topic provides an introductory overview of configuring category axis clustering mode on the IGChartView™ control.

In this topic

This topic contains the following sections:


Introduction

Category axis clustering mode summary

Category axis clustering mode allows the line and area based series to draw their vertices in the center of each category. Typically, the line series starts and ends at the very edge of the viewport. However, when plotting the line and column series together, the line series gets offset and each line point is plotted in the center of each column. Clustering mode allows simulating the same behavior without actually having a column series present. To enable clustering mode, set the useClusteringMode property to YES.

In Objective-C:

_xAxis = (IGCategoryAxisBase*)[_chart findAxisByKey:@"x"];
_xAxis.useClusteringMode = YES;

In C#:

_xAxis = _chartView.FindAxisByKey ("x");_xAxis.UseClusteringMode = true;

Related Content

Topics

The following topic provides additional information related to this topic.

Topic

Purpose

The topics in this group cover enabling, configuring, and using the IGChartView control’s supported features.