Holarch
Capítulos do curso

Treinamento · Trilha 13. Quadros brancos · Capítulo 13.3 de 4

13.3 Gráficos 3:32

Insira gráficos, dê dados a eles, altere seu tipo, selecione seus dados, formate seus eixos e importe gráficos do Excel.

Mostra o Holarch 2.35.

O que você vai aprender

  • Inserir um gráfico e dar dados a ele em Dados do gráfico, digitados, colados ou importados de um arquivo
  • Alterar o tipo de gráfico, incluindo empilhado e 100% empilhado
  • Alternar linhas e colunas e ordenar séries em Selecionar dados
  • Ativar elementos do gráfico e definir limites e unidades do eixo em Formatar eixo
  • Importar gráficos de uma pasta de trabalho do Excel

Adicione um quadro de gráficos de uso ao quadro branco de conceito da Bike-Share Dock: insira um gráfico de colunas, edite seus dados e importe os números de aluguel de uma planilha do Excel, mude-o para um gráfico de colunas empilhadas na galeria Alterar tipo de gráfico (com as prévias de 100% empilhado, barras, linhas, pizza, rosca e dispersão), reordene e alterne séries em Selecionar dados, ative os rótulos de dados e mova a legenda em Elementos do gráfico, defina os limites e as unidades do eixo de valores em Formatar eixo e importe um gráfico de linhas e um gráfico de pizza de uma pasta de trabalho do Excel com Importar gráfico do Excel.

Arquivos de projeto

  • Projeto inicial (.holarch.json; Gerenciar projetos → Arquivos de projeto ▾ → Importar projeto (.json)…)
  • Projeto concluído (.holarch.json; Gerenciar projetos → Arquivos de projeto ▾ → Importar projeto (.json)…)

O vídeo é reproduzido a partir de holarch.app; veja a Política de Privacidade.

Prática

Faça isto você mesmo no Holarch, na Bike-Share Dock.

  1. Abra o arquivo inicial do capítulo e o quadro branco Dock Concept. Clique em + na faixa de quadros.
  2. Abra Tabelas e gráficos e clique em Coluna. Clique duas vezes no gráfico, clique em Importar de arquivo… e escolha uma pasta de trabalho sua com uma coluna de rótulos e duas colunas de números.
  3. Clique com o botão direito no gráfico → Alterar tipo de gráfico… → Colunas empilhadas → OK.
  4. Na seção Gráfico, clique em Selecionar dados…, experimente Alternar linha/coluna duas vezes, mova uma série para cima e clique em OK.
  5. Marque Rótulos de dados, defina a legenda como Superior, clique no eixo de valores e defina Máximo e Principal.
  6. Clique em Importar gráfico do Excel… e insira um gráfico de uma pasta de trabalho que tenha gráficos.

Você terminou quando o quadro tiver um gráfico de colunas empilhadas com rótulos de dados, uma legenda no topo e limites de eixo fixos, e um gráfico importado do Excel.

Teste-se

  1. Quando um gráfico 100% empilhado é melhor que um empilhado?
  2. O que Alternar linha/coluna faz?
  3. Como voltar a um limite de eixo automático depois de definir um?
Mostrar as respostas
  1. Quando um gráfico 100% empilhado é melhor que um empilhado?

    Quando as proporções importam mais que os totais: cada barra preenche a altura, e os segmentos mostram a parte de cada série.

  2. O que Alternar linha/coluna faz?

    Ele troca séries e categorias: as linhas viram as séries e as colunas as categorias, ou o contrário.

  3. Como voltar a um limite de eixo automático depois de definir um?

    Esvazie a caixa em Formatar eixo.

Saiba mais

Transcrição

Mostrar a transcrição (narração e o que aparece na tela)

Introduction

Chapter three: charts. A whiteboard chart draws its own data, which you type, paste or import, and you format it the way you would in a spreadsheet.

In this chapter you build a board of usage charts for the dock.

A chart and its data

The charts get a board of their own. Click the plus in the Boards strip under the board: the new board opens as a second tab.

On screen: Boards strip → +.

Open the Tables and Charts panel, and click Column. The chart is added in the middle of the view, with sample data.

On screen: Tables and Charts panel → Column.

Double-click the chart to open Chart Data. Labels go in the first column and series names in the first row. You can type in the grid, add rows and series, or paste rows copied from a spreadsheet.

On screen: Double-click the chart → Chart Data.

Our rental figures are in a workbook. Click Import from File, and choose Dock Usage.

On screen: Import from File… → Dock Usage.xlsx.

The workbook has three sheets. Choose Rentals. The preview shows six months and two series, weekday and weekend. Click Use Imported Data, then Done.

On screen: Sheet: Rentals → Use Imported Data → Done.

Chart types

Right-click the chart, and choose Change Chart Type. The gallery shows your own data in every type.

On screen: Right-click → Change Chart Type….

Stacked column stacks each month's series, so the bar shows the total. One hundred percent stacked compares the shares. Bar turns the chart on its side, and line, pie, donut and scatter are here too.

On screen: Gallery: Stacked Column, 100% Stacked Column, Bar, Line, Pie, Donut, Scatter.

Choose Stacked Column, and click OK.

On screen: Stacked Column → OK.

Select Data

Select Data, in the Chart section, chooses what the chart shows. Switch Row and Column turns the months into the series and the series into the categories. Switch it back.

On screen: Chart section → Select Data… → Switch Row/Column, twice.

Legend entries lists the series. Select Weekend, and click Move Up: weekend now sits at the bottom of each stack, and keeps its color. Click OK.

On screen: Weekend → Move Up → OK.

Format the chart

Chart Elements turns the parts of the chart on and off. Tick Data labels, and set the legend position to Top.

On screen: Chart Elements → Data labels; Legend position: Top.

Click the numbers of the value axis to select the axis. A dashed box marks it, and the inspector shows Format Axis.

On screen: Click the value axis.

Set the maximum to three thousand, and the major unit to five hundred. Leave a box empty for automatic. Every change is one undo step.

On screen: Format Axis: Maximum 3000, Major 500.

Import charts from Excel

Charts made in Excel come in too. In the Tables and Charts panel, click Import Chart from Excel, and choose the workbook.

On screen: Import Chart from Excel… → Dock Usage.xlsx.

The dialog lists every chart in the workbook, with a preview, its sheet, its type and its series, and says what does not carry over. Tick the line chart and the pie chart, and click Insert.

On screen: Tick the line and pie charts → Insert 2 Charts.

They arrive selected, as whiteboard charts with their titles, colors and axes. Drag them below the first chart. You edit and format them like the one you made.

On screen: Drag the imported charts below the column chart.

Recap

To recap: insert a chart from the Tables and Charts panel, give it data in Chart Data, choose its type in the gallery, set its series in Select Data, format it with Chart Elements and Format Axis, and import charts from Excel.

In the next chapter, you link charts and tables to live spreadsheet cells, connect the board to the model and add clipart.