Hi, there.
We're evaluating the jQuery igDataChart and its financial series and are currently having some troubles with its logarithmic Y Axis plotting.
We noticed the chart works well if all prices stay between the same log base boundary. That is, if all prices stay between $1.01 and $9.99 (or $10.01 and $99.99, $100.01 and $999.99, and so on).
Every time the price series crosses any of that base boundaries, labels in the Y axis will only be drawn for such bases (1, 10, 100, 1000, and so on). How can we get the chart to plot Y axis labels normally, like it does on the previous scenario (with no base value crossing)?
Here's an example of the wrong label plotting. The correct label plotting can be attained by changing the Y axis minimumValue and maximumValue to 11 and 99, respectively: http://jsfiddle.net/7SELz/
Thanks, a lot.
Thanks for the fast reply. No. Not really.
Hello Thiago,
Thank you for reporting this issue. After investigating the scenario I have logged this issue in our internal system for further review by our engineers. The ID of the internal work item is 162257. The next step will be for a developer to review my investigation and confirm my findings or to offer a fix, or other resolution.
I have created a private support ticket for you regarding this matter - CAS-130305-Y5M6P0. You can also continue to send updates to this case at any time.
You can view the status of the development issue connected to this case by selecting the "Development Issues" tab when viewing this case on the web site.
Please let me know if you need more information.
I have received word back from development regarding this behavior - label values are only displayed in this scenario given that they fall between the minimum and maximum values based on the log base. The log base is not automatically recalculated or flipped to linear mode. Based on the data from the datasource however, it should be possible to manually detect whether an adjustment in the minimum and maximum values is required in order to ensure that labels are displayed.
Hope this helps. Please feel free to contact me if you have any questions.
Thank you for your reply.
In order for labels to be displayed when an axis is logarithmic, the min and max values if set need to fall inside the set log range. This is the behavior of the component by design. Possible approaches to handle this include changing the log base through the axislogratihmBaseoption, or switching the axis to linear mode based on the values present in the datasource.
Please let me know if you need more information regarding this matter.
Hi, Petar.
This seems to be a major design flaw, then.
The most particular aspect of a log chart in comparison to a linear one appears when you plot long ranges of data, specially for stock charts showing a company that went from 2 cents to 40 dollars in the course of the years.
Please check with your guys if this can be changed in the future.
Also, I would greatly appreciate if you were to take a look on my other thread, regarding chart s destroy methods.
Hello Peter,
Sorry for posting it in old thread. As I am facing same LOG issue as explained above. Though you suggested following solution
The suggested solution is to manually detect whether an adjustment in the minimum and maximum values.
Can you please give some detail, how can we adjust min/max value when Log checkbox checked and re-adjust when log checkbox unchecked.
Thank you.
Hello Thiago Me,
Thank you for your reply and feedback ! I have relayed your comments to our engineers.
Please also feel free to suggest this as a new product idea at <http://ideas.infragistics.com>.
There are many benefits to submitting a product idea:
- Direct communication with our product management team regarding your product idea.
- Notifications whenever new information regarding your idea becomes available.
- Ability to vote on your favorite product ideas to let us know which ones are the most important to you. You will have ten votes for this and can change which ideas you are voting for at any time.
- Allow you to shape the future of our products by requesting new controls and products altogether.
- You and other developers can discuss existing product ideas with members of our Product Management team.
Steps to create your idea:
1. Log into the Infragistics Product Idea site at http://ideas.infragistics.com (creating a new login if needed).
2. Navigate to the product / platform channel of your choice (e.g. WPF, Windows Forms, ASP.NET, HTML5 / Ignite UI, iOS / NucliOS, etc.)
3. Add your product idea and be sure to be specific and provide as much detail as possible. Explain the context in which a feature would be used, why it is needed, why it can’t be accomplished today, and who would benefit from it. You can even add screenshots to build a stronger case. Remember that for your suggestion to be successful, you need other members of the community to vote for it. Be convincing!
The Product Idea site puts you in the driver’s seat and allows you to track the progress of your ideas at any time, see how many votes it got, read comments from other developers in the community, and see if someone from the product team has additional questions for you.
I have attended to your other chart related query at:
http://es.infragistics.com/community/forums/t/86440.aspx
Feel free to contact me through the forum thread or created support ticket with any updates or questions regarding this matter.