feat(dissertation): add basics of pie chart for time spent on sections

This commit is contained in:
Anthony 2024-04-09 13:31:05 +01:00
parent df3d9fbe31
commit 456c7ede88
4 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,6 @@
package io.anthonyberg.connector.shared.database
class ActionDatabase (driverFactory: DriverFactory) {
private val database = Database(driverFactory.createDriver())
private val dbQuery = database.actionQueries
}

View File

@ -0,0 +1,16 @@
\documentclass[../dissertation.tex]{subfiles}
\begin{document}
\section{Time Spent}
\begin{figure}[h!]
\centering
% TODO make it show how many hours were spent instead of percentages
\begin{tikzpicture}
\pie[text=legend]{70/Coding, 20/Research}
\end{tikzpicture}
% TODO improve wording for figure caption
\caption{Time spent on ... \textbf{Improve wording}}
\end{figure}
\end{document}

Binary file not shown.

View File

@ -23,6 +23,8 @@
\usepackage{multirow}
\usepackage{array}
\usepackage{pgf-pie}
% For referencing
\usepackage[citestyle=ieee]{biblatex}
\addbibresource{references.bib}
@ -74,6 +76,7 @@ This is the acknowledgements.
\subfile{chapters/design.tex}
\chapter{Results}
\subfile{chapters/results.tex}
\chapter{Conclusion}