Relative Content

Tag Archive for chart.jsquickchart

(QuickChart / Chart.Js) First X-Axis Tick Mark Not Displaying

Im using QuickChart to generate a Gantt chart (using ChartJs v2) and my first x axes tick mark is not showing up. I’ve tried setting the xAxes timeUnit to round:’week’, which gets me a tick on the date but then adds an unwanted week before date. It seems to need the start tick date to be more than week before the actual specified start date, otherwise the tick won’t appear. Is there anyway to get the tick mark to show using ChartJs v2? Unfortunately the process for generating the actual chart is very complicated and I dont have the time to migrate everything over to a newer version of ChartJs. Any help is hugely appreciated!

Chart js. How to customize font styling for elements in the “Labels” array?

I am making a Gantt style chart that contains two labels in the Y axis, however I am hoping to find a way to make the “title” label be in bold, while the “description” is not. I’ve seen it asked elsewhere but haven’t been able to find a solution that works for me. Additionally, does anyone know if its possible the render the “description” to the right of the main label, in essentially a “second y-axis label”? I am hoping to use QuickChart and ChartJs 2 for this but can modify if needed. Any insight is greatly appreciated!