Skip to content

@feds01/graphika


@feds01/graphika / config

config

Variables

default

ts
default: {
  axisColour: string;
  axisLabelFontSize: number;
  debug_draw: boolean;
  gridLineWidth: number;
  lineWidth: number;
  scaleLabelFontSize: number;
  tension: number;
  tickLength: number;
  warnOnFailedAssert: boolean;
  xTicks: number;
  yTicks: number;
};

Defined in: config.ts:13

src/core/config.ts

Module description:

This module holds the default configuration values and parameters for graph objects.

Type Declaration

NameTypeDefault valueDescriptionDefined in
axisColourstring"rgb(94,94,94)"-config.ts:52
axisLabelFontSizenumber14-config.ts:46
debug_drawbooleanfalse-config.ts:18
gridLineWidthnumber1-config.ts:31
lineWidthnumber2-config.ts:26
scaleLabelFontSizenumber12-config.ts:49
tensionnumber0.4-config.ts:43
tickLengthnumber9The length of the tick that is is drawn on the axisconfig.ts:21
warnOnFailedAssertbooleantrue-config.ts:15
xTicksnumber11-config.ts:34
yTicksnumber11-config.ts:37

Author

Alexander. E. Fedotov

Email

alexander.fedotov.uk@gmail.com

Released under the ISC License.