Buscar pacotes, repositórios e categorias de apps

Capa de flutter_radar_chart
Detalhes do pacotev0.2.1

flutter_radar_chart

Gráfico de radar básico para Flutter. Este gráfico é projetado para funcionar prontamente, ajustando-se automaticamente aos dados fornecidos. O design do gráfico foi inspirado no Python Graph Gallery.

AndroidiOSWebmacOSWindowsLinux
Downloads em 30 dias
1,7 mil
Curtidas
101
Pontos Pub
140

Instalar pacote

flutter pub add flutter_radar_chart

Visão geral do pacote

Orientação gerada a partir de informações públicas. Apenas para referência.

Um gráfico de radar simples e autoajustável para Flutter, projetado para funcionar sem problemas com os dados fornecidos. Inspirado na Python Graph Gallery, oferece uma visualização limpa e intuitiva para dados multidimensionais. O gráfico escala e se adapta automaticamente aos valores de entrada, tornando-o ideal para implementação rápida sem configurações complexas. Adequado para painéis, comparações de desempenho e interfaces de análise de dados em múltiplas plataformas.

Casos de uso

  • visualização de métricas de desempenho
  • Comparação de dados multidimensionais
  • Widgets do painel
  • Análise de dados em aplicativos
  • Ferramentas educacionais

Principais recursos

  • Dimensionamento automático com base em dados
  • Configuração mínima necessária
  • Suporte multiplataforma
  • Design limpo e moderno
  • Layout responsivo

Indicado para

  • Desenvolvedores procurando gráficos de radar rápidos
  • Visualização de dados em painéis
  • Aplicações educacionais ou analíticas
  • Aplicativos com dados de múltiplos eixos
  • Projetos que exigem gráficos leves

Considerações

  • Opções limitadas de personalização
  • Mais adequado para conjuntos de dados pequenos a médios
  • Não ideal para gráficos altamente interativos
  • Sem dicas embutidas ou animações
  • Depende de biblioteca externa para funcionalidades avançadas

README original

Snapshot do README original do repositório-fonte vinculado. Consulte o repositório para o conteúdo mais recente.

flutter_radar_chart

Animated radar chart for Flutter inspired by The Python Graph Gallery (https://python-graph-gallery.com/radar-chart/).

Follow the instructions on pub to install this package.

Example

screenshot

Usage

Basic usage of radar chart requires three pieces of data:

  • ticks - Defines the numerical axis for the chart. Each tick generates an outline. Currently, each feature is plotted using the numerical range define by the ticks.
  • features - Defines the numerical variables for each individual in the chart. There is no limit to the number of features.
  • data - List of data points used to construct each individual in the chart. The number of data points must match the number of features. There is no limit to the number of individuals in the chart; however, multiple entities might cause the graph to become unreadable.
RadarChart.light(
    ticks: ticks,
    features: features,
    data: data,
),

A full example (as seen in the screenshots) can be found in example/lib/main.dart

Customizability

Most of the customizability of the graph is a work in progress, but here's some of the features of the chart:

  • Animations! Trying to add some life to the chart. Animation is currently triggered whenever the widget is updated (didUpdateWidget). Animations are currently enabled by default.
  • Number of features: As shown in the example, the radar chart will adjust to the number of given variables. More work is needed to ensure the chart doesn't explode when given invalid data.
  • Reverse axis: Reverses the axis range so that the min value starts at the graph outline.
  • Dark mode: Simple factory that showcases the color customizability of the chart.
  • Polygon sides: Ability to use flat polygon borders instead of a circular border.

screenshot

Future Work Ideas

There's a few more areas of work that I'd love to get around to building. I will eventually move these items over to issues for better tracking.

  • [ ] Option for round corners
  • [x] Animations on render
  • [ ] Integration testing
  • [ ] Responsive design
  • [ ] Legends

Acknowledgements

Categorias

Repositório-fonte

Projetos que usam este pacote