Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

Multiple Chart with vbnet

$
0
0

Greetings

need help on Charts that is related with vbnet and access database.

i have a scenario where im using combo box that enable me to choose between 2 graph.
the database condition is where it is from 1 dbase.mdb with 2 tables (table1 and table2)
1. monthly graph
2. yearly graph

if monthly graph is chosen from combo box, then

Qty                                                         Qty2          dbase.mdb, table1       dbase.mdb, table2
/|\                                                           /|\       
 |   Line graph                                            |            Month  Year   Qty1      Month   Year  Qty2
 |  (from dbase.mdb : table2,[Month, Qty2]) |            Jan     2019    2        Jan     2019    1
 |                                                              |            Jan     2018    4         Feb     2018    4
 |  column graph                                         |            Feb     2018    2         Feb     2018    6
 |  (from dbase.mdb : table1,[Month, Qty1]) |            Dec     2019    3         Sept    2018    2
---------------------------------------------->months

if yearly graph is chosen from combo box, then
Qty                                                         Qty2         
/|\                                                            /|\
 |   Line graph                                             |         
 |  (from dbase.mdb : table2,[Year, Qty2])    |               
 |                                                               |              
 |  column graph                                         |          
 |  (from dbase.mdb : table1,[Year, Qty1])    |         
---------------------------------------------->year


Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>