<commit_before>import { Marker } from "../marker/marker";
import { Observable, reactive } from "../../util/observable";
import palette from "../palettes";

export class SeriesMarker extends Observable {
    /**
     * Marker constructor function. A series will create one marker instance per data point.
     */
    @reactive(['change', 'legendChange']) type?: new () => Marker;

    /**
     * In case a series has the `sizeKey` set, the `sizeKey` values along with the `minSize/size` configs
     * will be used to determine the size of the marker. All values will be mapped to a marker size
     * within the `[minSize, size]` range, where the largest values will correspond to the `size`
     * and the lowest to the `minSize`.
     */
    @reactive(['change']) size = 12;

    @reactive(['change']) minSize = 12;

    @reactive(['change']) enabled = true;

    @reactive(['change']) xOffset = 0;
    @reactive(['change']) yOffset = 0;

    @reactive(['change', 'legendChange']) fill?: string = palette.fills[0];
    @reactive(['change', 'legendChange']) stroke?: string = palette.strokes[0]; // Color.fromString(value).darker().toHexString();

    @reactive(['change']) strokeWidth?: number;
    @reactive(['change', 'legendChange']) fillOpacity = 1;
    @reactive(['change', 'legendChange']) strokeOpacity = 1;
}<commit_msg>AG-3390 - removed marker colour defaults from series marker<commit_after>import { Marker } from "../marker/marker";
import { Observable, reactive } from "../../util/observable";
import palette from "../palettes";

export class SeriesMarker extends Observable {
    /**
     * Marker constructor function. A series will create one marker instance per data point.
     */
    @reactive(['change', 'legendChange']) type?: new () => Marker;

    /**
     * In case a series has the `sizeKey` set, the `sizeKey` values along with the `minSize/size` configs
     * will be used to determine the size of the marker. All values will be mapped to a marker size
     * within the `[minSize, size]` range, where the largest values will correspond to the `size`
     * and the lowest to the `minSize`.
     */
    @reactive(['change']) size = 12;

    @reactive(['change']) minSize = 12;

    @reactive(['change']) enabled = true;

    @reactive(['change']) xOffset = 0;
    @reactive(['change']) yOffset = 0;

    @reactive(['change', 'legendChange']) fill?: string;
    @reactive(['change', 'legendChange']) stroke?: string;

    @reactive(['change']) strokeWidth?: number;
    @reactive(['change', 'legendChange']) fillOpacity = 1;
    @reactive(['change', 'legendChange']) strokeOpacity = 1;
}
{'fraction_non_alphanumeric': 0.15525812619502868, 'fraction_numerical': 0.008413001912045888, 'mean_word_length': 3.7220216606498195, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '983122', 'n_tokens_mistral': 768, 'n_tokens_neox': 698, 'n_words': 260}