Last post Jan 13, 2009 03:32 AM by bhavesh.patel
Jan 05, 2009 07:10 AM|bhavesh.patel|LINK
I am generating charts using OWC. I have one problem in generating one chart.
Suppose I am generating chart on monthly/weekly bases. Let's say I am generating monthly chart from Dec 08 to March 09. I want verticle line on current month. So it means in the given sample range, I want do display verticle line on the month of Jan 09.
I tried but line starts from Previous month to next month. It means it displays like reverce V. I want strait line only.
Your valuable help will be appriciated. Thanks.
Jan 07, 2009 09:41 PM|Nai-Dong Jin - MSFT|LINK
From your description you want to add a verticle line on a specific data in X-axis, right?
I'm afraid that you can't display the specific verticle line on your charts, if you enable the verticle lines, it will show on every x-axis data nodes of your chart. In your scenario, i think you can add some x-axis labels in your chart instead, in this
way it can also explain the chart's meanings and users can know which data is for the current month.
Here are some articles which share some code-snippet on how to achieve that.
Jan 13, 2009 03:32 AM|bhavesh.patel|LINK
Hi Nai-Dong Jin,
Thank you for your reply. Actually I am new with this Charting using OWC. But I tried my best to get verticle line. When I am applying X-axis data to the chart, it is not showing a single line but instead line is starting from previous month or week to next
month or week of current month or week. So it will display like reverse V. I don't know what to do.
In our case, we have multiple charts in a single chart. We have multiple area and line charts together in one chart. Your help will be very much useful to me. Thanks