Could someone help me what is the problem with this?
Yes, it is my mistake.
But my problem:
If I click on the line button the chart won’t be generated. How can I solve it?
See this topic how to generate the values