Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
115
Specify category for igx-category-chart
posted

How do I explicitly tell the chart what the category is?  It seems like you're just grabbing the "first" string that's in the object but that's pretty awkward and depends on specific knowledge of this component.  There needs to be a way I can explicitly say which property of my object is the category.

  • 25085
    Offline posted

    Hello Scott,

    Thank you for contacting Infragistics!

    You can tell the igx-category-chart what properties to ignore by setting the excludedProperties, which takes an array of strings that match the members of your datasource you want the chart to ignore. Alternatively you can instead set the includedProperties to the chart to look at only those members when setting up the chart.