I wanted to ask if there is a way to click the chart on the right side, so there will be no free space. I attached a simple image, a red line, that this space should also be filled with a diagram.
Is it also possible to create vertical lines as dots? I can not find the answers to my questions in an official document
This is my javsacript code:
var lineChartData = {
labels : ["January","February","March","April"],
datasets : [
{
label: "Dataset",
pointHighlightStroke : "rgba(220,220,220,1)",
data : [0,3,4,11]
}
]
};
window.onload = function(){
var ctx = document.getElementById("canvas").getContext("2d");
window.myLine = new Chart(ctx).Line(lineChartData, {
responsive: true,
scaleOverride: true,
scaleSteps: Math.ceil((max-start)/step),
scaleStepWidth: step,
pointDot : false,
});
}
source
share