<commit_before>import { MongooseChartDataset } from "./mongoose-chart-dataset.model";
import { MongooseChartOptions } from "./mongoose-chart-options";

export interface MongooseChart { 
chartOptions: MongooseChartOptions;
chartLabels: string[];
chartType: string;
chartLegend: boolean;
chartData: MongooseChartDataset; 
}<commit_msg>Add necessary field & method to mongoose chart inteface.<commit_after>import { MongooseChartDataset } from "./mongoose-chart-dataset.model";
import { MongooseChartOptions } from "./mongoose-chart-options";
import { MongooseChartDao } from "./mongoose-chart-dao.mode";

export interface MongooseChart {
    chartOptions: MongooseChartOptions;
    chartLabels: string[];
    chartType: string;
    chartLegend: boolean;
    chartData: MongooseChartDataset;

    mongooseChartDao: MongooseChartDao; 
    updateChart(); 
}
{'fraction_non_alphanumeric': 0.1045828437132785, 'fraction_numerical': 0.0, 'mean_word_length': 5.604651162790698, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5105753', 'n_tokens_mistral': 237, 'n_tokens_neox': 250, 'n_words': 56}