function-plot icon indicating copy to clipboard operation
function-plot copied to clipboard

Styling to control the grid, line thickness, label size, etc

Open heman-theman opened this issue 2 years ago • 6 comments

Hello Thanks for this plotter, it's great.

I want to be able to change the settings on the grid, line thickness, size of labels, etc.. Your docs page is down. Do you have another location for the documentation?

Thanks

heman-theman avatar May 29 '23 02:05 heman-theman

Yes, there is a pressing need for this.

I see you are ahead of me, you seem to want to control the size of the labels. I cannot figure out how to put a label in the first place. Care to share your wisdom?

minoush82 avatar May 30 '23 18:05 minoush82

With CSS:

.function-plot .y.axis text {
  font-size: 30px;
}

You could do similar overrides through CSS for other components.

mauriciopoppe avatar Jun 01 '23 04:06 mauriciopoppe

And for the thickness of the graph? Thanks

heman-theman avatar Jun 02 '23 13:06 heman-theman

The following only works with the graphType: 'polyline' graphtype

.function-plot path.line {
  stroke-width: 5;
}

mauriciopoppe avatar Jun 02 '23 23:06 mauriciopoppe

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 16 '23 22:09 stale[bot]

I am trying to modify the size and background of the x and y-axis labels because they are too small and get hidden in some cases. What would be the CSS for that?

muhidabid avatar Mar 14 '24 11:03 muhidabid