ChartJSCore icon indicating copy to clipboard operation
ChartJSCore copied to clipboard

Creating horizontal bar chart in version 3

Open xkovacsp1 opened this issue 3 years ago • 1 comments

Hello, could you please tell me how I can create horizontal bar chart in version 3? I have seen that horizontal bar requires indexaxis option (see image below). As far as I know currently the source code does not support this option. image

xkovacsp1 avatar Apr 02 '22 16:04 xkovacsp1

Hi, sorry for the delay on this.

Looks like vertical bar charts require x and y coordinates so I've updated the package to 3.3.0. An example is here.

https://github.com/mattosaurus/ChartJSCore/blob/929b86bbb4aa1f3484b71f54561dc274d4fe2beb/ChartJSCore.Demo/Controllers/HomeController.cs#L131-L237

mattosaurus avatar Apr 20 '22 15:04 mattosaurus