Guys,
Is there a way to put a label above the bars, in a bar chart?
Hello Ryan,
I believe what you are looking for is the labelLocation: "outsideTop" option of the Axis. It will change both the labels and the axis line location on the top of the igDataChart. You could find the result at http://jsfiddle.net/16gcdyrp/
Please let me know if you have further questions regarding this!
Ivaylo -
Thanks for the suggestion but that's not what I'm really looking for. I am looking for something more like a static tooltip that will sit at the top of the bar. Since the XAxis has what the column is, I want the tool tip to show the value of what that bar is. We have no problems with the tooltips, we just want one that sits at the top of the bar.
I know this isn't an IG Chart, but I am looking for something like this, as far as labels go for each bar.
Hello,
It has being some time ago, please let me know in case you still have an issue with this!
Hello Ivaylo ,
I have a question about your code.I added code ==> legend: {element: "legend1"} in your code.The result is a legend not displayed.
Help me with suggestions.
Thank you.Sulada
This actually works pretty good.
There is no real easy way to achieve this like using options. However, it is possible to achieve the same or similar labels - on top of each bar, using custom marker templates.You could see an example of this at: http://jsfiddle.net/gmurray/V72h4/
The following forum threads are regarding similar topics and Graham has explained how to achieve this. Please notice, there are a couple of code snippets and samples included in the corresponding replies. How to change color of each item in Scatter Series and Show Label on each ItemDisplay values on top of the columns
I am also attaching a .zip file containing two runnable code samples. They are illustrating a possible approach.