AAChartModel / AAChartKit-Swift

📈📊📱💻🖥️An elegant modern declarative data visualization chart framework for iOS, iPadOS and macOS. Extremely powerful, supports line, spline, area, areaspline, column, bar, pie, scatter, angular gauges, arearange, areasplinerange, columnrange, bubble, box plot, error bars, funnel, waterfall and polar chart types. 极其精美而又强大的现代化声明式数据可视化图表框架,支持柱状图、条形图、折线图、曲线图、折线填充图、曲线填充图、气泡图、扇形图、环形图、散点图、雷达图、混合图等各种类型的多达几十种的信息图图表,完全满足工作所需.
https://cocoapods.org/pods/AAInfographics
MIT License
2.42k stars 258 forks source link

xAxis values starting from center of two ruler of xAxis #66

Open chaudharyvikram opened 6 years ago

chaudharyvikram commented 6 years ago

hello,

For categories i provide dynamic value and first value is "0, 1 or any other" so the starting point of xAxis is in center of first two rulers.

How to set xAxis values from starting point for dynamic categories and series values.

currently graph is displaying in following type. screen shot 2018-05-28 at 10 46 05 am

and i want this type of graph with dynamic categories screen shot 2018-05-28 at 11 15 57 am

Thank you

prafulargiddi commented 6 years ago

I want same graph but I don't know how to set same graph please give me reply how to set same graph. Thank you in advance.