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

Setting line styles for graphs #38

Open
filip-jezek opened this issue Aug 15, 2022 · 1 comment
Open

Setting line styles for graphs #38

filip-jezek opened this issue Aug 15, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@filip-jezek
Copy link
Member

I have not found a way how to adjust style of the lines - i.e. thickness, color, markers. This should be forwarded to graph.js somehow. E.g. in a new tag graphstyle="json desc here" to avoid ton of bindable objects.

@filip-jezek filip-jezek added the enhancement New feature or request label Aug 15, 2022
@TomasKulhanek
Copy link
Member

colors are generated by algorithm blue,red,green,..., there is option to skip color index so start with red or green. Other settings are set to chartjs library https://www.chartjs.org v 2.9.4.

The 'chartjs' components avoids programming by giving predefined convention of expected chartjs behavior.
The asked feature request asks for freedom to user. Well, the user may use chartjs or plotly or other graph library directly - but all needs programming some code.

Regarding the line properties, it might be considered to allow specify the dataset property and pass it to chartjs library as documented in https://www.chartjs.org/docs/2.9.4/charts/line.html

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

No branches or pull requests

2 participants