fix: Sort out Ring enum typing issues

This commit is contained in:
Jarosław Marek
2021-05-04 20:24:20 +12:00
parent 622da055c7
commit 15feb9bc58
14 changed files with 138 additions and 75 deletions

View File

@@ -43,7 +43,7 @@ export const quadrantsMap: Map<string, QuadrantConfig> = new Map([
export const chartConfig = {
size: 800, //in px
scale: [-16, 16],
scale: [-16, 16], // arbitrary scale, could have any summetric values. 16 is good for dividing the chart into rings of proportional sizes/radius
blipSize: 12, // in px, be careful when increasing this value as it may cause a lot of calculations during placing the blips on the chart
ringsAttributes: [ // order from the centre outwards
{ radius: 8, arcWidth: 6 }, // radius values are based on the scale (not px!), arc width is in px