Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expresar fechas en el gráfico y en el selector de fechas como ISO 8601 #204

Open
abenassi opened this issue Sep 25, 2018 · 1 comment
Open

Comments

@abenassi
Copy link
Collaborator

Ahora se ven en inglés, deberían verse en el formato:

YYYY-MM-DD

Y recortarse según tenga sentido con la frecuencia:

YYYY-MM para frecuencias menores que "mensual" por ejemplo.

Revisar documentación de highcharts y ejemplo del taller de series de la media party:

Highcharts.chart(container_id, {
            // ver opciones de customización en https://api.highcharts.com/highcharts/

            title: {
                text: title
            },

            subtitle: {
                text: subtitle
            },

            yAxis: {
                title: {
                    text: units
                }
            },

            tooltip: {
                dateTimeLabelFormats: {
                    day: '%Y-%m-%d',
                    month: '%Y-%m',
                    year: '%Y',
                }
            },

            xAxis: {
                dateTimeLabelFormats: {
                    day: '%Y-%m-%d',
                    month: '%Y-%m',
                    year: '%Y',
                }
            },

            data: {
                csvURL: api_call
            }
        })
    }
@alejandrosobko
Copy link
Collaborator

alejandrosobko commented Sep 26, 2018

Es la misma que: 180 ?

@abenassi abenassi removed the backlog label Oct 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants