PR modifications
This commit is contained in:
Родитель
f05322f078
Коммит
ebe0a6770a
|
@ -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';
|
||||
|
|
|
@ -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';
|
||||
|
|
|
@ -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];
|
||||
|
|
|
@ -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"]
|
||||
|
|
Загрузка…
Ссылка в новой задаче