![](https://forum.fusioncharts.com/uploads/set_resources_2/84c1e40ea0e759e3f1505eb1788ddf3c_default_photo.png)
engrade
Members-
Content count
7 -
Joined
-
Last visited
About engrade
-
Rank
Forum Newbie
-
When a regression line is turned on for a scatterplot, the yAxisMinValue is not respected. Here's one where yAxisMinValue is not respected. The resulting javascript graph will have the y axis go into negative numbers. <chart showValues='0' yAxisName='Failing Rate' xAxisName='% of Students Who Logged in' outCnvbaseFontWeight='normal' showAlternateHGridColor='0' vDivlineColor='#efefef' divLineColor='#efefef' showShadow='0' showRegressionLine='1' regressionLineThickness='1' regressionLineColor='#c0c0c0' lineAlpha='50' showLegend='0' bgColor='ffffff' yAxisMinValue='0' xAxisMinValue='0' showBorder='0' canvasPadding='0' canvasBorderThickness='5' canvasBorderColor='efefef' animation='0' verticalLineColor='#f5f5f5'> <dataset seriesName='0' anchorRadius='3' anchorBorderThickness='6' anchorSides='10'> <set label='10000000005789417' y='0' x='16.7' /> <set label='10000000005789421' y='20' x='33.3' /> </dataset> <dataset seriesName='1' anchorRadius='3' anchorBorderThickness='6' anchorSides='10'> <set label='10000000005789421' y='0' x='33.3' /> </dataset> </chart> Switch showRegressionLine to 0, and it goes to 0. Odd, because the regression line itself doesn't even extend past 0.
-
Thanks so much. Got so caught up with the defined lines that I didn't see the basic one.
-
I'm attempting to allow Fusion Charts to create vertical lines naturally on my xy charts. The documentation makes it seem like all vertical lines have to be defined using the category element. <categories verticalLineColor='666666' verticalLineThickness='1'> <category label='20' x='20' showVerticalLine='1'/> <category label='30' x='30' showVerticalLine='1'/> </categories> But that can be cumbersome when you have graphs of different sizes and x-axis values. So I instead left out the categories element all together, and found that Fusion Charts does do a nice job of just auto creating these vertical lines at intelligent levels. However, because I've done it this way, it seems I have no way of setting the color of the vertical lines, which were set using the categories element. I've tried setting the verticalLineColor attribute in the parent element (no luck) and tried creating the category element with the appropriate attributes and no children (creates no lines). Any way I can have Fusion Charts auto-create the vertical lines and specify their color? Thanks, Jeremy
-
Right, this is what I ended up doing. Would be great if you all would consider this for a future feature as it's not a very elegant solution. Thanks tho.
-
I have column charts where the colors are various and sometimes can even be black. Problem is, no matter how I do it, the data value for the tallest column always ends up inside the column itself. And since my data values are black, they often can't be seen very well against the dark bars. So I've tried various things: - setting the parameter that forces values into the bar to be "0" (apparently it will force all into a bar if set to 1, but this doesn't force all of them out of the bars of you set it equal to 0) - setting some kind of padding above the bars (canvasPadding seems to only pad left and right) - putting a 1px white shadow on the value (shadowing apparently doesn't work for Javascript/HTML5 renderer, but only for the Flash renderer... we require Javascript/HTML5) - tried increasing "valuePadding", which only serves to push others values inside the bar if they then reach over the top So now I'm at a loss. Any help would be appreciated. ** UPDATE ** I tried just calculating a height myself by taking the tallest value, adding some, and setting the y axis max to that. It works, but requires more manipulation on my side, isn't of course completely accurate and seems to mess w/ gridlines some. So, still looking for a more elegant solution if it's available. Thanks, Jeremy
-
Thanks Sumedh. I hope you guys consider doing so in the future. Even some of your most basic competitors, such as jqplot, support this basic functionality.
-
I know when I played with FushionMaps way back in the day, I was able to hover over a state and I'd be able to bind a javascript event so that I could highlight the state on a list of data presented below the map. I'd like to do a similar thing w/ Fusion Pie Charts. Say I have a graph of "what's your favorite pet" with "dog" being one of the slices. You hover over the "dog" slice, javascript recognizes what it's hovered over and then I can easily run a script so that a table row of information pertaining to dogs is highlighted below the graph. I've searched the docs to no avail about capturing the hover event with javascript, and I came across a post here that said it wasn't ready, but that post was from 2009. Is it still the case that JavaScript can't capture a hover event? Even jqplot does this. Thanks, Jeremy