'QT Charts with different view

Can I display existing chart with different figure? For example a linechart with bar form or dots. I want to do this through a menu action(Show chart with lines - Show chart with bars). Is it possible? Thank you



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source