Ymax in history plots

I have a PM sensor that works quite well. A few days ago, it was exposed to a high PM concentration. When now looking at the history plots, I only see this spike, other info is (almost) unrecognizable:

How can I set the ymax on history plots? Naively adding &ymax=100 to the URL doesn’t work.

Try Apexcharts.

I’d like to avoid creating a new card in the dashboard. Is it possible to manually remove the respective data?

This setting is for History-graph card, not for History view.

Only by manually editing the DB.
P.S. THis huge value is a “natural” value. But sometimes sensors report abnormal data which can be filtered out by using a template sensor.

Cards unfortunately are too small for me. How can I edit the DB?

On your own risk - use smth like DB Browser for SQLite, open the db-file, edit, save. And HA must be not running this time.