Open Munaro opened 1 year ago
for any people with this problem, temporary solution i finded is copy default configuration from "apexcharts/dist/locales/pt-br.json" and change name to "en"
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I trying to use pt-br locales from apexcharts/dist/locales and receveid this error on my console: "Error: Wrong locale name provided. Please make sure you set the correct locale name in options"
That's my code source:
import VueApexCharts from 'vue3-apexcharts'
import { boot } from 'quasar/wrappers'
import { ApexOptions } from 'apexcharts'
import locale from 'apexcharts/dist/locales/pt-br.json'
const apexOptions: ApexOptions = {
chart: {
fontFamily: "Lufga, Arial, sans-serif",
locales: [locale]
},
}
export default boot(({ app }) => {
app.use(VueApexCharts)
window['Apex'] = apexOptions
})