Skip to content

Commit 7386919

Browse files
azure-pipelines[bot]tfsbuild
andauthored
Adding changes from build igniteui-xplat-examples-output+PRs_2024.10.21.1 (#854)
Co-authored-by: tfsbuild <[email protected]>
1 parent 234c412 commit 7386919

File tree

72 files changed

+16149
-257
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+16149
-257
lines changed

samples/charts/data-chart/data-legend/index.html

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,22 +25,16 @@
2525
<div class="legend">
2626
<igc-data-legend
2727
name="legend"
28-
id="legend">
28+
id="legend"
29+
units-text="%"
30+
included-columns="BirthRate, DeathRate">
2931
</igc-data-legend>
3032
</div>
3133

3234
<div class="container fill">
3335
<igc-data-chart
3436
name="chart"
3537
id="chart">
36-
<igc-numeric-x-axis
37-
name="xAxis"
38-
id="xAxis"
39-
title="Death Rate"
40-
interval="1"
41-
minimum-value="4"
42-
maximum-value="16">
43-
</igc-numeric-x-axis>
4438
<igc-numeric-y-axis
4539
name="yAxis"
4640
id="yAxis"
@@ -49,6 +43,14 @@
4943
minimum-value="0"
5044
maximum-value="60">
5145
</igc-numeric-y-axis>
46+
<igc-numeric-x-axis
47+
name="xAxis"
48+
id="xAxis"
49+
title="Death Rate"
50+
interval="1"
51+
minimum-value="4"
52+
maximum-value="16">
53+
</igc-numeric-x-axis>
5254
<igc-bubble-series
5355
name="bubbleSeries1"
5456
id="bubbleSeries1"

samples/charts/data-chart/data-legend/src/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { IgcLegendModule, IgcNumberAbbreviatorModule, IgcDataChartCoreModule, IgcDataChartScatterModule, IgcDataChartScatterCoreModule, IgcDataChartInteractivityModule, IgcDataLegendModule, IgcDataChartAnnotationModule } from 'igniteui-webcomponents-charts';
2-
import { IgcDataLegendComponent, IgcDataChartComponent, IgcNumericXAxisComponent, IgcNumericYAxisComponent, IgcBubbleSeriesComponent, IgcSizeScaleComponent, IgcCrosshairLayerComponent } from 'igniteui-webcomponents-charts';
2+
import { IgcDataLegendComponent, IgcDataChartComponent, IgcNumericYAxisComponent, IgcNumericXAxisComponent, IgcBubbleSeriesComponent, IgcSizeScaleComponent, IgcCrosshairLayerComponent } from 'igniteui-webcomponents-charts';
33
import { CountryDemographicAfricanItem, CountryDemographicAfrican } from './CountryDemographicAfrican';
44
import { CountryDemographicEuropeItem, CountryDemographicEurope } from './CountryDemographicEurope';
55

@@ -22,8 +22,8 @@ export class Sample {
2222

2323
private legend: IgcDataLegendComponent
2424
private chart: IgcDataChartComponent
25-
private xAxis: IgcNumericXAxisComponent
2625
private yAxis: IgcNumericYAxisComponent
26+
private xAxis: IgcNumericXAxisComponent
2727
private bubbleSeries1: IgcBubbleSeriesComponent
2828
private _sizeScale1: IgcSizeScaleComponent | null = null;
2929
public get sizeScale1(): IgcSizeScaleComponent {
@@ -58,8 +58,8 @@ export class Sample {
5858
constructor() {
5959
var legend = this.legend = document.getElementById('legend') as IgcDataLegendComponent;
6060
var chart = this.chart = document.getElementById('chart') as IgcDataChartComponent;
61-
var xAxis = this.xAxis = document.getElementById('xAxis') as IgcNumericXAxisComponent;
6261
var yAxis = this.yAxis = document.getElementById('yAxis') as IgcNumericYAxisComponent;
62+
var xAxis = this.xAxis = document.getElementById('xAxis') as IgcNumericXAxisComponent;
6363
var bubbleSeries1 = this.bubbleSeries1 = document.getElementById('bubbleSeries1') as IgcBubbleSeriesComponent;
6464
var bubbleSeries2 = this.bubbleSeries2 = document.getElementById('bubbleSeries2') as IgcBubbleSeriesComponent;
6565
var crosshairLayer = this.crosshairLayer = document.getElementById('CrosshairLayer') as IgcCrosshairLayerComponent;

0 commit comments

Comments
 (0)