Skip to content

Commit

Permalink
remove histogram data model from models and add export to lis-histogr…
Browse files Browse the repository at this point in the history
…am-element.ts #386
  • Loading branch information
ctcncgr committed May 14, 2024
1 parent 6c8967d commit 17c9952
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
1 change: 0 additions & 1 deletion src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@
*/
export * from './lis-alert-modifier-model';
export * from './lis-string-object-model';
export * from './lis-histogram-data-model';
7 changes: 0 additions & 7 deletions src/models/lis-histogram-data-model.ts

This file was deleted.

6 changes: 5 additions & 1 deletion src/viz/lis-histogram-element.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
import {LitElement, html, css} from 'lit';
import {customElement, property} from 'lit/decorators.js';
import {Ref, createRef, ref} from 'lit/directives/ref.js';
import {HistogramDataModel} from '../models';
import * as d3 from 'd3';

export type HistogramDataModel = {
name: string;
count: number;
};

/**
* @htmlElement `<lis-histogram-element>`
*
Expand Down

0 comments on commit 17c9952

Please sign in to comment.