nicolaskruchten / pivottable

Open-source Javascript Pivot Table (aka Pivot Grid, Pivot Chart, Cross-Tab) implementation with drag'n'drop.
https://pivottable.js.org/
MIT License
4.36k stars 1.08k forks source link

Chart bar data percentage value always visible #892

Open sujit-quocent opened 6 years ago

sujit-quocent commented 6 years ago

Hi, Nicolas @nicolaskruchten

Can you help me with the following, for better understanding I made a video clip.

https://drive.google.com/open?id=1EtBWONF5RlztdEuRntidxttXXZCS6fpv

Snap -

image

The bar percentage values are showing up on mouse hover. Can we make them always visible.

I was excepting something like below image -

image

nicolaskruchten commented 6 years ago

You'll have to see if there are any C3 options you can pass in via rendererOpts similar to the way this example does: https://pivottable.js.org/examples/scatter.html

sujit-quocent commented 6 years ago

Hi @nicolaskruchten Sorry, I was referring to the Bar chart not scatter chart. Do let me know if any solutions regarding the same.

Thanks

nicolaskruchten commented 6 years ago

I've updated the documentation for C3 rendererOptions which should make it a bit clearer: https://github.com/nicolaskruchten/pivottable/wiki/Optional-Extra-Renderers#c3-rendereroptions

abhishekdhantoia commented 5 years ago

is it possible to show data labels on Bar chart all time instead of hover ?

sujit-quocent commented 5 years ago

@abhishekdhantoia Yes you can.

abhishekdhantoia commented 5 years ago

Please help me how to achieve that?