score:13
Accepted answer
Using the showScale option would be better
var ctx = document.getElementById("LineWithLine").getContext("2d");
new Chart(ctx).Line(data, {
showScale: false
});
Fiddle - http://jsfiddle.net/wb3kcunt/
This hides gridlines too. If you want to hide only the axes and labels and not the grid lines, just set scaleFontColor and scaleLineColor to a transparent color.
score:1
I found that if you edit a library posted in this answer, you can achieve this
In chart.js, Is it possible to hide x-axis label/text of bar chart if accessing from mobile?
Source: stackoverflow.com
Related Query
- How to hide the y axis and x axis line and label in my bar chart for chart.js
- How to add second Y-axis for Bar and Line chart in Chart.js?
- PrimeNg bar chart how to show a label for the y-axis
- How to change the label and grid line position on a timeseries chart in Chart.js 3?
- How do you set x and y axis and Title for a line chart using charts.js?
- How to show symbols after the label and before the numeric value using chart.js Bar chart in Angular
- How to show tick marks and labels with grid line for the specific one on the X axis with Chart.js?
- How to add custom text inside the bar and how to reduce the step size in y axis in chart js( Bar chart )
- I am using chart js to draw a chart. I did everything right but i don't know why the x axis and y axis label is not comming in chart. code below
- How can i get the Chart JS Bar Graph Bar Label and Value on click?
- how to label the x and y axis - in a line graph
- Chart js - Line chart - How to hide the data label on the line?
- Chartjs 2 - Stacked bar and unstacked line on same chart with same y axis
- show label in tooltip but not in x axis for chartjs line chart
- Chart.js bar chart : Grid color and hide label
- Remove the label and show only value in tooltips of a bar chart
- How to start the line graph from the left Y axis in a line/bar mixed chart (Chart.js)?
- How to show data values in top of bar chart and line chart in chart.js 3
- In Stacked horizontal bar chart how to remove the vertical line in Chart.js?
- PrimeNg bar chart how do I hide the bar labels?
- How to create a chart that uses strings for both the X and Y axes?
- How to draw outer labels for polar chart using ng2-charts and chart.js at fixed positions outside the rings?
- How do I customize y-axis labels and randomly pick the value from the data range for x-axis in Chart js
- How to use set the color for each bar in a bar chart using chartjs?
- How can I have different values for the chart and the tooltip in chart.js?
- how can i use chart.js to create a chart that has one time series line and one linear line on it at the same time?
- Chart with Time axis only displaying first grid line and tick label (unitStepSize)
- How do I get a different label for each bar in a bar chart in ChartJS?
- Charts.js line chart, how to hide y-axis start and end label if data is same
- How to remove the extra Y axis from a bar chart in chart.js
More Query from same tag
- Show the values of each arc on doughtnut chart of chart.js
- chart.js 3 and time axis displays wrong date data
- Chart.js plugin datalabels - formatter- Add space between thousands
- How to create datasets for all labels for stacked bar in chart.js?
- Bootstrap 3 tabs & Chart.js - charts not loading on tabs
- Chartjs unselected lines on render
- How to hide tooltip for selected datasets? - Chart.js v2.8
- Create charts with a loop in Django with charts.js
- How to pass an array to chart.js data:[] while creating a chart in php
- Styling Bars and Lines with Chart.js
- Want to multiple charts on same page with different data
- Chart.js Cannot read property 'fontSize' of undefined
- Why is my chart.js not plotting correctly when changed to logarithmic?
- how to use alpha vantage api in Instead list in chartjs?
- chart js label not showing
- how to change color of dots in graph using chart.js
- Error in compilation for chart.js Expected method shorthand in object literal ('{label() {...}}'
- Chart.js Scaling issue when initially loading the page
- angular chart js set fill color of bar chart
- How to create chart.js vertical bar chat with rounded corners in angular 6?
- Is it possible to create a canvas to extract image data without actually rendering the canvas?
- chart.js - how to draw and manage line when only one label present in chart js Linechart
- How to subscribe to elements in a response object
- How to add labels for only some of the data point?
- Why are the default Chart.js legend boxes transparent rectangles?
- Angular Chart Js legends click event not working
- JS import updated JSON file for use with ChartJS
- ChartJS: How to dynamically create data arrays
- How to align labels at same side chartjs React
- Chart.js grid lines not hiding