Blazor Data Aggregations

    Ignite UI for Blazor에서 IgbCategoryChart 데이터 집계 기능을 제어하면 차트의 데이터를 고유한 값으로 그룹화할 수 있습니다. XAxis 그런 다음 해당 그룹을 정렬합니다. 그런 다음 범위에 반영될 요약을 적용할 수 있습니다. YAxis 시리즈에 마우스를 올리면 툴팁에 표시됩니다.

    Blazor 데이터 집계 예제

    다음 예에서는 기둥 차트 해당 그룹은 국가 구성원별로 XAxis Product, MonthName, Year 등 각 데이터 항목 내의 다른 속성으로 변경하여 판매 데이터를 집계할 수 있습니다. 또한 그룹화된 속성에 대해 바람직한 순서를 얻기 위해 요약 및 정렬 옵션을 사용할 수 있습니다.

    할당한 속성에 따라 올바른 결과를 얻기 위해 표시된 대로 InitialSummariesGroupSorts의 드롭다운에 있는 축약된 함수가 적용되었습니다. 예. 합계(매출액)를 매출액으로 | 판매 설명

    EXAMPLE
    MODULES
    DATA
    RAZOR
    CSS

    Like this sample? Get access to our complete Ignite UI for Blazor toolkit and start building your own apps in minutes. Download it for free.

    API References

    다음은 위 섹션에서 언급된 API 멤버 목록입니다.

    Chart Aggregation will not work when using IncludedProperties | ExcludedProperties. These properties on the chart are meant for non-aggregated data. Once you attempt to aggregate data these properties should no longer be used. The reason it does not work is because aggregation replaces the collection that is passed to the chart for render. The include/exclude properties are designed to filter in/out properties of that data and those properties no longer exist in the new aggregated collection.