diff --git a/src/visualizers/highcharts/charts/chart.ts b/src/visualizers/highcharts/charts/chart.ts index e2ed483..19d04cc 100644 --- a/src/visualizers/highcharts/charts/chart.ts +++ b/src/visualizers/highcharts/charts/chart.ts @@ -5,7 +5,7 @@ import * as _ from 'lodash'; import * as Highcharts from 'highcharts'; import { TooltipHelper } from '../common/tooltipHelper'; -import { Utilities as HC_Utilities } from '../common/utilities'; +import { HC_Utilities } from '../common/utilities'; import { IVisualizerOptions } from '../../IVisualizerOptions'; import { Utilities } from '../../../common/utilities'; import { IColumn, IChartOptions, IRowValue } from '../../../common/chartModels'; diff --git a/src/visualizers/highcharts/charts/pie.ts b/src/visualizers/highcharts/charts/pie.ts index 6f82410..afcfe3e 100644 --- a/src/visualizers/highcharts/charts/pie.ts +++ b/src/visualizers/highcharts/charts/pie.ts @@ -1,7 +1,7 @@ 'use strict'; import * as _ from 'lodash'; -import { Utilities as HC_Utilities } from '../common/utilities'; +import { HC_Utilities } from '../common/utilities'; import { Chart, ICategoriesAndSeries } from './chart'; import { TooltipHelper } from '../common/tooltipHelper'; import { IVisualizerOptions } from '../../IVisualizerOptions'; diff --git a/src/visualizers/highcharts/common/utilities.ts b/src/visualizers/highcharts/common/utilities.ts index 4fdfc10..1f676b6 100644 --- a/src/visualizers/highcharts/common/utilities.ts +++ b/src/visualizers/highcharts/common/utilities.ts @@ -1,8 +1,8 @@ 'use strict'; -import { IQueryResultData, DraftColumnType, IColumn, IRow } from "../../../common/chartModels"; +import { DraftColumnType, IColumn, IRow } from "../../../common/chartModels"; -export class Utilities { +export class HC_Utilities { public static getYValue(columns: IColumn[], row: IRow, yAxisIndex: number): number { const originalValue = row[yAxisIndex]; const column = columns[yAxisIndex]; diff --git a/test/highcharts/chart.test.ts b/test/highcharts/chart.test.ts index 49f485c..72bc773 100644 --- a/test/highcharts/chart.test.ts +++ b/test/highcharts/chart.test.ts @@ -463,9 +463,8 @@ describe('Unit tests for Chart methods', () => { // Assert expect(result).toEqual(expected); }); - - - it('Validate getSplitByCategoriesAndSeries for Line chart: non-date x-axis with splitB and decimal y-axis', () => { + + it('Validate getSplitByCategoriesAndSeries for Line chart: non-date x-axis with splitBy and decimal y-axis', () => { const rows = [ ['United States', 'Atlanta', "300.474"], ['United States', 'Redmond', "20.2"]