Shinobi Charts Graphic Chart

I am using Chinobi Controls Charts for this project and I am having trouble finding how to set up my chart to look as close to this as possible:

Target graph

Here is what I still have:

So far i have this

The labels below are those that are represented as [name] in the first graph.

The color of the bars is fine, I know how to change them. My problem is the labels at the top of each bar, the grid and the background grid.

1) How to remove the grid and change the color of the graph to transparent? chart.xAxis.style.gridStripeStyle.showGridStripes = NO; does not delete the grid.

2) The radial series had a callback where I could change the position of the labels, but looking at all the documentation that came with the demo, I can’t find anything to change the position of the axis labels for the graph bar and add additional complexity, such as an image and 2 or 3 tags to it. Also, these boxes must move with the bars.

Does anyone know how to do this 2 topics?

Thank you in advance for any help.

EDIT: I was able to remove the axis using

 axis.style.gridStripeStyle.showGridStripes = NO; // removes the main bar axis.style.majorGridLineStyle.showMajorGridLines = NO; // removes the grid bars 
+4
source share
2 answers

Regarding the second point, use

 - (void)sChart:(ShinobiChart *)chart alterTickMark:(SChartTickMark *)tickMark beforeAddingToAxis:(SChartAxis *)axis 
+2
source

Regarding your first use of the point

 chart.axis.style.majorGridLineStyle.showMajorGridLines = NO 
0
source

Source: https://habr.com/ru/post/1445040/


All Articles