Click here to Skip to main content
15,901,001 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
I have added ZedGraphControl to my windows application form with a radio button option for user to select the type of graph (Line plot, Bar Graph and Pie Chart). When I keep switching between Line Plot and Bar Graph everything works fine. But when I select Pie chart (it displays fine) and then switch either to Line Plot or to Bar Chart I dodn't see X & Y axis lines at all unless I exit the application and load again. Is there any solution to overcome this problem or do I need to use 2 different tabs on the form (1 for Line Plot/Bar Graph) and the other one for Pie Chart.
And the other issue I have is.....I have provided 3 dropdown, 1st one to pick year, 2nd one to pick month and 3rd one to pick week. I'm displaying number of counts in Y-axis and Date in X-axis. Any time the count is less than 4 I see that the line plot is messed by starting and ending points of the graphs are displaying between the dates (for example starting point between Oct 31st and 1st Nov instead of at Nov 1st and ending point between Nov 1st and Nov 2nd instead of at Nov 2nd).
Please advice.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900