Charts

Charts present data visually, making them a user-friendly way to show patterns, trends, and relationships between data.

Create a chart

To create a chart manually:

  1. Select the cells containing the data you want to represent using a chart.

  2. Click Insert ‣ Chart from the menu bar.

    Truco

    Odoo uses the most appropriate chart type for the selected data; this can be changed in the configuration section of the chart properties, which opens on the right side of the spreadsheet.

  3. Make any desired changes to the configuration or design of the chart in the chart properties.

Chart types

When a chart is:

Icono de gráfico de línea

Línea: Perfecto para mostrar tendencias o cambios a lo largo del tiempo, como el crecimiento del las ventas a lo largo de los meses o las variaciones de temperatura.

Icono de gráfico de líneas apiladas

Línea apilada: Útil para visualizar tendencias acumulativas donde hay varias series que contribuyen a un total, como los ingresos por departamento a lo largo del tiempo.

Propiedades del gráfico

When you create a chart manually or insert a chart from an Odoo graph view into a spreadsheet, the chart properties appear in a pane on the right side of the spreadsheet. Here, it is possible to modify various aspects of the chart’s configuration and design via the Configuration and Design tabs respectively.

Truco

A chart’s properties can be accessed at any time, as follows:

  • For any chart, whether manually created or inserted from an Odoo view, hover over the chart then click the (menu) icon and click Edit.

  • For a chart inserted from an Odoo graph view, click Data on the menu bar then select the relevant chart, as prefaced by the (chart) icon, e.g., (#1) Sales Analysis.

Configuración

La pestaña Configuración incluye las siguientes secciones:

  • Chart type: the type of chart. For a chart that has been:

    • manually created, this is by default the chart type suggested by Odoo;

    • inserted from an Odoo graph view, this is by default the type of chart selected in the graph view before the chart was inserted in the spreadsheet.

    To change the chart type, click the dropdown menu to select the desired chart type.

  • Dominio: Las reglas utilizadas para determinar qué registros aparecen. Haga clic en Editar dominio para agregar o editar reglas.

  • Vincular al menú de Odoo: Para agregar un enlace en el que se puede hacer clic desde un gráfico a un elemento de menú de Odoo, es decir, a la vista específica de un modelo.

Diseño

Dependiendo del tipo de gráfico, la pestaña Diseño tiene una o más secciones.

La sección General permite modificar los siguientes elementos:

  • Color de fondo: Agrega o cambia el color del fondo al hacer clic en el punto de color. Elige uno de los colores estándar o haz clic en el icono para seleccionar un color personalizado de forma manual.

  • Título del gráfico: Edita el título del gráfico en caso de que sea necesario. Puedes modificar el formato de la fuente, la alineación horizontal y el color del título con el editor.

  • Posición del eje vertical: Elija si el eje vertical estará a la izquierda o a la derecha de los gráficos de línea, columna y área.

  • Posición de la leyenda: Cambie la posición de la leyenda o elija si no quiere incluirla.

  • Habilite la función Mostrar valores para agregar valores numéricos a los datos en el gráfico.

  • Habilite la función Mostrar línea de tendencia para agregar una línea de tendencia a los gráficos de líneas, columnas y áreas.

Para los gráficos de línea, columna y área, la sección Eje le permite agregar un título a uno o ambos ejes. Puede modificar el formato de fuente, la alineación horizontal y el color del título con el editor.