Grafana8.2.0 elasticserach histogram work inconsistent with kibana result

Grafana version: 8.2.0. Start server by docker.

I want to achieve x_axis: point value interval by 500 , y_axis: unique count device id.
Implement with kibana like this.

Use same method in grafana. I got this. Aggregation result is error.

Row data format:
| start_time | device_id | point_id | point_value |
| 2022-04-17 18:00:00.000 | 141fe1da9e5ab614572 | 100 | 8370 |

So how can I implement in grafana like kibana visualization?