FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Xamarin Forms add itemsource to var barSeries = new ColumnSeries from ObservableRangeCollection · Issue #16 · oxyplot/documentation-examples · GitHub

Repository navigation

Xamarin Forms add itemsource to var barSeries = new ColumnSeries from ObservableRangeCollection #16

Description

Hi, I want to populate itemsource items with: var items = Registrar.OrderBy(c => c.Especie).Select(x => x.Ancho).ToList();

I was thinking of something like this perhaps??

var barSeries = new ColumnSeries
{
ItemsSource = new List(new[]
{
new BarItem{ Value = Registrar.OrderBy(c => c.Especie).Select(x => x.Ancho),
},

             }),
            LabelPlacement = LabelPlacement.Inside,
            LabelFormatString = "{0}"
        };

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL