Profile Picture

Axis shows no values when stacked

Posted By Tal Harari 14 Years Ago
Author
Message
Tal Harari
Posted 14 Years Ago
View Quick Profile
Junior Member

Junior Member (19 reputation)Junior Member (19 reputation)Junior Member (19 reputation)Junior Member (19 reputation)Junior Member (19 reputation)Junior Member (19 reputation)Junior Member (19 reputation)Junior Member (19 reputation)Junior Member (19 reputation)

Group: Forum Members
Last Active: 9 Years Ago
Posts: 19, Visits: 2
Hey,

I've encountered a very strange problem with the 3D bar charts.
I'm trying to create a chart that has two series that are stacked, and bind it to a DataView.
I'm creating my series without a chart at first and only later I add them to a chart.
The problem is that if the second series (which is the stacked one) has no value (meaning the column it is binded to in the DataView contains nulls or zeros on all rows), the PrimaryY axis, which is just a normal linear axis, has no values - meaning my chart looks totally flat, like all the series are smashed to the floor of the chart. once i add a row to the DataView that has a value for that series the chart looks just fine.
The strange thing is i cant reproduce that in the examples software.

I've tried everything, changing the chart, the axis, the scale, the series, but nothing seems to change anything.
Have I set a property wrong somewhere?
Maybe you know what could cause this strange behavior.

I'll appreciate some help on this matter.

bob milanov
Posted 14 Years Ago
View Quick Profile
Supreme Being

Supreme Being (152 reputation)Supreme Being (152 reputation)Supreme Being (152 reputation)Supreme Being (152 reputation)Supreme Being (152 reputation)Supreme Being (152 reputation)Supreme Being (152 reputation)Supreme Being (152 reputation)Supreme Being (152 reputation)

Group: Forum Members
Last Active: 6 Months Ago
Posts: 153, Visits: 11

Hi Tal,

I just tested the stacked bar series in 3D (and 2D) and it was working correctly with null values - both in stacked and stacked percent modes. Can you post the data you're working with as well as the code relevant to the chart configuration so that we can replicate the problem?

Best regards,
Bob



Tal Harari
Posted 14 Years Ago
View Quick Profile
Junior Member

Junior Member (19 reputation)Junior Member (19 reputation)Junior Member (19 reputation)Junior Member (19 reputation)Junior Member (19 reputation)Junior Member (19 reputation)Junior Member (19 reputation)Junior Member (19 reputation)Junior Member (19 reputation)

Group: Forum Members
Last Active: 9 Years Ago
Posts: 19, Visits: 2
I'm afraid thats not possible.
I'm working on it on a highly secured network, not connected to the internet.


Maybe we can try the opposite,
I'll appreciate it if you would create a code sample that creates a 3D bar chart with 2 series (the second one is stacked) that is binded to a DataView (using the NChartControl DataBindingManager) with more than one row, but all the rows contain nulls in the second series's column, and post it here, and i will compare it to my code and maybe understand what am I doing wrong.

Nevron Support
Posted 14 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009

Hello Tal,

It appears that there is a problem with the chart when the second series is all empty data points. We already fixed this and we'll release a service pack next week. Thank you for your valuable feedback.



Best Regards,
Nevron Support Team





Similar Topics


Reading This Topic