getContentWidth

open fun getContentWidth(maxMajorEntryCount: Int): Float

Given the chart’s maximum number of major entries, calculates the width of the Chart’s content (in pixels).