Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Chart > Field of an object underneath X Axis

Not answered Field of an object underneath X Axis

Feed from this thread
  • Adigard avatar

    Posted on Jan 19, 2012 (permalink)

    Currently, my RadChart's datasource receives what a method returns (a request LINQ to SQL). What i return is more precisely
    a list of objects...

    I would like to display underneath the X Axis a field of this objet ( a name for instance )

    How is it possible to chose between the fields of an object those i want to use for my histogram

    Thanks in advance for your help


    PS: what i'm looking for looks a bit like this :
    http://demos.telerik.com/aspnet-ajax/controls/examples/integration/chartandtooltip/defaultcs.aspx?product=chart


    Reply

  • Evgenia Evgenia admin's avatar

    Posted on Jan 24, 2012 (permalink)

    Hi Rambert,

    You may review our demo which uses a SQLDataSource to bind the chart. You can easily customize this sample and bind your chart with LinqDataSource by converting the sql query in Linq.
    To be able to show strings as XAxis Labels you'll need to use a DataLabelsColumn property as shown in this help topic.

    Kind regards,
    Evgenia
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Chart > Field of an object underneath X Axis
Related resources for "Field of an object underneath X Axis"

ASP.NET Chart Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  |  Step-by-step Tutorial  ]