Jan-28-2022, 03:02 PM
(This post was last modified: Jan-28-2022, 03:08 PM by Yoriz.
Edit Reason: Added code tags
)
Hello,
I have made a graph with
I have set the plot like this:
I have made a graph with
cutecharts but how can I customize the plot? Specifically, how:- do I add a horizontal dashed black line?
- do I increase the width of the lines?
- do I increase the size of labels?
I have set the plot like this:
x = df['x'].to_list()
y = df['y'].to_list()
z = df['z'].to_list()
chart = Line("title", width='750px',height='500px')
chart.set_options(
labels=x,
x_label='Time',
y_label='Outcome'
)
chart.add_series('Out_1', y)
chart.add_series('Out_2', z)
chart.render('line.html')
chart.render_notebook()Thank you
