**How to test Graphs and Charts? **

### Sample Test Cases for Testing Graphs and Charts:

**1)** No data found message should displayed when there is no data in graph.

**2)** Waiting cursor or Progress bar should be given on Graph Load

**3)** Correct values displayed with respect to its Pivot table (values of the graph x-axis & y-axis matches its table values)

**4)** If the Graph is hyper linked (on click, navigates to some other page), it should redirect to the expected page

**5)** Graph Report should be Printable or download-able

**6)** Color combinations Should be according to your Application Standards

**7)** you should test how the data variation affect the graph. The chart has to response immediately to the data changes

**8)** you need to check with all possible combinations of data

**9)** Tool-tip should be available on Graph values which contains basic information about the value

**10)** Information Icon should available which gives the basic information about the graph to User

**11)** Check the Graph with various filters if any

**12)** Position and color of Legends must be proper

**13)** Plotting range should be dynamic and logical

**14)** Values in Graph should be in Proper culture

**15)** Check the Graph with less and more data , small & large Date Rang

**16)** Test the Graph for Boundary values by using boundary value analysis

**17)** Use equivalence class partitioning to minimize input data

**18)** Test the Performance of Graph load with different amount of data

**19)** Scroll-bar need to be available to see the entire graph

**20)** Export the Graph in Excel or PDF and see how it looks

**21)** Test the Graph report in all supported browsers.

**22)** Must use Standard Font Size and Font Style at Graph Dashboard

**23)** Graph or chart name should be meaningful