def layout_one(title):

    """Formating layout for plotly visualization graph containing multiple variables of one company
    Args:
        title of graph

    Returns:
        layout configuration
    """

    layout = dict(title = title,
        legend = dict(
            orientation = 'h',
            x = -0.01,
            y = 1.16,
            font = dict(size = 10),
            ),
        xaxis = dict(
            #title = 'Year'
            showline = True,
            showgrid = True,
            showticklabels = True,
            ticks = 'outside',
            dtick = 1),
        yaxis = dict(
            #title = 'Amount [€]',
            showline = True,
            showgrid = True,
            showticklabels = True,
            ticks = 'outside',
            rangemode = 'tozero',
            autotick = True,
            ),
        )
    return layout