Highcharts.Net 0.8 Beta

Rating:        Based on 1 rating
Reviewed:  1 review
Downloads: 114
Change Set: 4096
Released: Oct 11, 2010
Updated: Oct 13, 2010 by paulovich
Dev status: Beta Help Icon

Recommended Download

Application Release Dll´s
application, 39K, uploaded Oct 13, 2010 - 114 downloads

Release Notes

Primeira versão funcional do projeto. Já abrange cerca de 40% das renderizações possíveis da API do jQuery Highcharts.

Instruções:

1) Adicione os controles ao web.config:
   <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID">
       <controls>
          <add tagPrefix="highchart" namespace="Highchart.UI" assembly="Highchart"/>
       </controls>
    </pages>

2) Numa página aspx qualquer, declare o controle:
   <highchart:Chart id="hcVendas" RenderType="column" Width="600" Height="320" runat="server"></highchart:Chart>

3) Adicione as séries (dados) através do código server:
  hcVendas.Title = new Title ("Faturamento Anual");

  //definições de eixos
  hcVendas.YAxis = new YAxis { title = new Title("Faturamento") };
  hcVendas.XAxis = new XAxis { categories = new[] { "1994", "1995", "1996", "1997", "1998", "1999", "2000", "2001", "2002" } };

  //dados
  var series = new Collection<Serie>();
  series.Add(new Serie { data = new object[] { 400, 435, 446, 479, 554, 634, 687, 750, 831 } });

  //bind do controle
  hcVendas.DataSource = series;
  hcVendas.DataBind();

Pronto!

Reviews for this release

     
thanks a lot
by saeid_mh83 on Oct 20, 2010 at 1:45 PM