none
Access database and vbnet RRS feed

  • Question

  • Hi Greetings,

    How do i draw 2 graph in one chart from 1 database, group by month?

    Primary X,Y bar chart group by month, total qty

    Secondary Y line chart with month =((total reject)/(total qty)) ×50


    • Edited by mik t Tuesday, June 18, 2019 11:01 PM Formula orientation
    Tuesday, June 18, 2019 10:45 PM

Answers

  • Hi mik t,

    A Chart can contain multiple graphs. You only need to create multiple "Series" and modify the properties "ChartType" and "DataBindXY". Just like the thread Vbnet and mic.access database chart (programatically).

    As to some calculations, you can create a new List to save the calculated results.

    Regards,

    Kyle


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Marked as answer by mik t Wednesday, June 19, 2019 6:03 AM
    Wednesday, June 19, 2019 1:44 AM
    Moderator

All replies