Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GenerateHorizontalBarChart method in BarChart test file generetas vertical barchart #81

Open
xkovacsp1 opened this issue Apr 24, 2022 · 3 comments

Comments

@xkovacsp1
Copy link

xkovacsp1 commented Apr 24, 2022

Hi, I have found out that GenerateHorizontalBarChart method

private static Chart GenerateHorizontalBarChart()
does not generate horizontal barchart.

image
Could you please help me fix this method?

@mattosaurus
Copy link
Owner

Hi, yep the tests aren't working at the moment.

There's a vertical example in the demo project though.

https://github.com/mattosaurus/ChartJSCore/blob/929b86bbb4aa1f3484b71f54561dc274d4fe2beb/ChartJSCore.Demo/Controllers/HomeController.cs

@mattosaurus
Copy link
Owner

Vertical and horizontal examples.

@xkovacsp1
Copy link
Author

Hi, yep the tests aren't working at the moment.

There's a vertical example in the demo project though.

https://github.com/mattosaurus/ChartJSCore/blob/929b86bbb4aa1f3484b71f54561dc274d4fe2beb/ChartJSCore.Demo/Controllers/HomeController.cs

Could you please tell me how I can use BeginAtZero and Precision attribute with this horizontal barchart?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants