score:0
in vue i tried whit.
import moment from 'moment';
import 'moment/locale/es';
import chart from 'chart.js';
moment.locale('es');
it worked for me.
i was looking in the chart.js code ant i see, they call moment as moment
not moment
Source: stackoverflow.com
Related Query
- Change locale for Chart.js in React
- Chart Js Change Label orientation on x-Axis for Line Charts
- Chart js. How to change font styles for "labels" array?
- Change labels colors for radar chart js
- Is it possible to change pointStyle for elements of a ChartJS bubble chart per dataset?
- change space between horizontal (grid) lines for line chart
- change stroke line color in chart according to datasets in react native
- How to set X coordinate for each bar with react chart js 2?
- React with chart js, labelling problems in multiple datasets for doughnut chart
- React Chart.js Match API data to what Title is displaying, then update chart on data/Title change
- How to change the position of the tooltip for the Bar type chart in Chart.Js
- attempting to change height and width of canvas for chart
- VueJS + Chartjs - Chart only renders after code change
- getting additional value fields from data source for dx.chartjs doughnut chart
- How to change React line chart tooltip title font family in chart.js
- Labels for Nested Doughtnut Chart React ChartJS
- Unable to change y-axis value dynamically based on data for Stacked bar chart in reactjs
- How to use the useEffect function in react js chart 2 to change the labels?
- How can labels/legends be added for all chart types in chart.js (chartjs.org)?
- Chartjs random colors for each part of pie chart with data dynamically from database
- How to change colours for Angular-Chart.js
- Chart Js change text label orientation on Ox axis
- Chart.js how to show cursor pointer for labels & legends in line chart
- Chart JS - Use time for xAxes
- chartjs datalabels change font and color of text displaying inside pie chart
- show label in tooltip but not in x axis for chartjs line chart
- How to add second Y-axis for Bar and Line chart in Chart.js?
- chart.js Line chart with different background colors for each section
- Chart JS - set start of week for x axis time series
- Problem for display a chart with Chart.js and Angular
More Query from same tag
- Using epoch as time series on x axis in react-chartjs-2 not showing correct date
- Chart.js with wrong Y axis
- Chart.JS: Show custom labels permanentely on doughnut chart
- PHP restructure array of data
- Rails chart.js data coffee script
- Chart.js, change color of specific ticks
- Chart.js and Angular - Click Event on Chart
- Chart.js: Chaing Font Color and Size not working
- trouble passing API result to chart
- chart.js Second hidden value for Bar Chart
- ChartJS remove the legends at the top of the chart
- How to change colours for Angular-Chart.js
- Get the data from node.js for Chart.js
- Chart.JS spacing and padding
- Is it possible to have tick stepSize for each dataset in Chart.js?
- Chart.js - Increase space between y Axes and the first column bar
- Empty circle - only point strok in line chart for ChartJS
- How should data be structured for lineplots with vue/chart.js
- Chart.js xAxis linear scale : strange behavior
- How to improve PDF rasterization quality in PhantomJS?
- Use Ternary Option with Chart.js and AngularJs
- I am using chart.js I sent my time values throw my api as timestamp know i need to show them in the chart as date format
- Chartjs Array.join
- Chart.js v2 is there a way to draw bar chart horizontally?
- Chart.js add tooltip at intersection of axes (break even)
- Chart.js padding canvas
- Labels (category type) on left and right of bar chart using chart.js?
- Chart.js creating multiple Charts in Angular in same Component
- ChartJS, Disable Tooltip for one plot on a multi graph data
- Is there a JavaScript Method/ Function to loop Objects via Keys into a array?