Hello,
I am having 2 issues with my igDataChart. The chart contains 2 series, a line series of individual dates over a period with numeric values, and a column series with one value per month in the period (with the data for each monthly element being populated on the middle day of each month). Here is a sample of what the data looks like, with an example for a day with only the line series element, and one with the monthly element as well:
[{"Date":"1/15/2016","Cumulative":"-7360226.94859106"},{"Date":"1/16/2016","Cumulative":"-7360226.94859106","Discrete":"-10171738.636458"}]
1) The chart is cutting off some of the lower line series values. How can I ensure these do not get cut off? I will need this to happen dynamically since the data being loaded could be of any scale. Example here: http://imgur.com/a/TmJ1B
2) I would like to widen the column series elements so they take up more horizontal space on the chart. Is this possible? You can see a reference image at the same link above.
Code is below. Thank you!
$("#graph_Timeline").igDataChart({
remove: true, width: "60%", height: "400px", dataSource: data, axes: [ { name: "DateAxis", type: "categoryX" }, { name: "ValAxis", formatLabel: function (value) { return value.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",") }, type: "numericY" } ], series: [ { showTooltip: true, name: "Discrete", type: "column", title: "Discrete", isHighlightingEnabled: true, isTransitionInEnabled: true, xAxis: "DateAxis", yAxis: "ValAxis", valueMemberPath: "Discrete" }, { showTooltip: true, name: "Cumulative", type: "line", title: "Cumulative", isHighlightingEnabled: true, isTransitionInEnabled: true, xAxis: "DateAxis", yAxis: "ValAxis", valueMemberPath: "Cumulative" } ] });
It looks the data sample got cut off, here it is again:
[{"Date":"1/15/2016","Cumulative":"-7360226.94859106"},
{"Date":"1/16/2016","Cumulative":"-7360226.94859106","Discrete":"-10171738.636458"}]
Hello k a,
Thank you for posting in our forums!
For the first issue where the line is being cut off, the chart should be automatically detecting the min and max values. Could you please provide a more complete data sample that reproduces the issue? If needed, I can create a private support case and you can provide any data there. Also, let me know what version of Ignite UI you are using. e.g. 15.2.20152.2174
As for the second issue, when trying to fill in more space with the columns, I will need a little more time to investigate how this may be accomplished.
I will have another update on my findings for you by Monday.
Hi Michael,
Thanks for your reply.
This is for work on a POC with Ignite, so I am currently just linking to the JS files from your CDN:
<script src="http://cdn-na.infragistics.com/igniteui/2016.1/latest/js/infragistics.core.js"></script>
<script src="http://cdn-na.infragistics.com/igniteui/2016.1/latest/js/infragistics.lob.js"></script> <script src="http://cdn-na.infragistics.com/igniteui/2016.1/latest/js/infragistics.dv.js"></script>
If you could create a private support case for me, that would be great. I will share the full data set with you there.
And thank you for continuing to investigate the widening of the columns.
Look forward to your reply.
Thanks.
I have created the private support case CAS-172696-Y9N6V1 for you. You may see and update the case here: https://www.infragistics.com/my-account/support-case/CAS-172696-Y9N6V1
After looking into specifying the column widths and doing some research, this has been determined to be a new product idea. You can suggest new product ideas for future versions (or vote for existing ones) 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! • Include a link to this thread in your idea so product management will be able to look back at this case.
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.
Thank you for contacting Infragistics.
Thanks for the reply. Thank you for creating a private case. I have posted the data set there.
I will consider submitting a product idea for the column widening feature.
Look forward to your reply on the data/chart getting cut off.
Thanks,
Korey