I chose subdataset parameters as:
subdataset_parameter = $P{dataset_parameter}
but still chart doesn't work (it doesn't show any data)
You can't configure it at subdataset level. You have to configure Parameters at the level:
Multi Axis / [...] Plot / Dataset
and then configure parameters
as follows: