yValues position on a BarChart - ios

I am developing a Swift 4 application and am using the Charts 3.0.4 cocoapod. I managed to draw a BarChart but now I want to put the values of each bar within the bar itself. I find how to change the font of the values by using the .setValueFont method of the BarCharDataSet but I am not able to find how to change their positions.
Please take a look at the images for better understanding!
Thanks in advance!
Currently:
Goal:

Add this line:
chart.drawValueAboveBarEnabled = false

Related

How to a show a block between two points in highchart

I have to implement a feature which is to show a bar from A to B in highchart.
What I want to do is to for any two given points, I need to add a red bar. For example: show a red bar between A(10:25) to B(10:35).
I failed to find any answer online, does anybody know how to do that? Thanks.
I found arearange can solve the problem.

Dynamic Vaadin chart

Is there a way to modify a Vaadin chart by moving a bar or a point from the chart itself? i.e. I have a bar chart with a certain value in one of the bars, I want to get a new value by dragging that bar to that new value.
There is something similar in this example, that is why I wonder if it is possible to extend this option to something like what I need.
Thanks!!!!
I assume that vaadin uses Highcharts if this is the case, maybe you can use plugins, if so I recommend:
http://www.highcharts.com/plugin-registry/single/3/Draggable%20Points
Source code in case you had to rewrite it:
https://rawgit.com/highslide-software/draggable-points/master/draggable-points.js
Regards.

shinobi grid ios : change background color of a complete line

I'm using shinobi grids on iOS to display some datas.
I'd like to change the background color of a complete line, when I select a cell in a row.
Does someone has a sample code to achieve this ?
thx
I finally found the solution, quite simple :
[myGrid setSelectionMode:SGridSelectionModeRowSingle];

How to customize the look of the crosshair for the iOS Shinobi SDK?

I would like to change the crosshair to a single vertical line. I'm looking for an example of a SChartCrosshair subclass that customizes the drawing. How do I customize the look of the crosshair?
there's a few links on the Shinobi site that show you how to customise the crosshair, they might help :)
a) http://www.shinobicontrols.com/blog/posts/2013/12/04/data-streaming,-crosshairs-and-custom-tooltips-in-shinobicharts/
b) http://www.shinobicontrols.com/blog/posts/2012/07/19/customizing-that-crosshair/
c) http://www.shinobicontrols.com/forum/shinobicontrols/2013/8/crosshair-with-line-only-to-the-x-axis/

Drop Shadow in DrawRect

I made this cool pie chart and now I'd like to drop a shadow under it.
Is there anyway I can do it with DrawRect ?
I'd like to do it right under the pie chart (drawn using DrawRect).
Suggestions are welcome
Have a look at BNPiechart here - http://bynomial.com/blog/?p=104 . The code is open source.You can use it directly.If you do not want to use the library, you can refer the code for creating the shadow.

Resources