How i can set setZoomButtonsVisible with aChartEngine? - achartengine

I created a chart with aChartEngine and it works but when i write
renderer.setZoomButtonsVisible(true);
eclipse doesn't acknowledge the method. It appears red.
What is the problem?
thanks and sorry for my english

Use aChartEngine 1.0, because this helping method is add after acharengine version 0.7.

Related

time series line chart missing rangetool/zoom

On the search of the best way to visualize my time series I am currently checking out orange3 . I miss the zoom or a rangetool option as it is shown in the online documentation of the line chart (marked 1 and 2 in the picture below). Is this version dependent (I am using 3.26.0)?
If anybody has an idea to zoom or change the range, it would be very much apreciated!
Thanks in advance.
Regards!
orange time-series line chart documentation
This feature was removed earlier.
https://github.com/biolab/orange3-timeseries/issues/56
Until this is fixed, the workaround that worked for me was to freeze the orange3-timeseries package to 0.3.1
https://pypi.org/project/Orange3-Timeseries/0.3.1/
My Current Orange3 version : 3.26
I can confirm that zoom & pan works on that version.

Highchart dependencyWheel DataLabels positioning

I'm using highcart to render few charts in a dashboard but I found a problem while using styledMode for dependency wheel
As you can see by this screenshot some of my datalabels move to the topleft of the chart. How can solve it?
I have other several chart that works in styledMode and taht's why I think to use it also in this chart.
If I remove the styledMode I miss the color similarity between nodes and link.
If someone can help understanding how to solve in one way or in the other it will be much appreciated
It is a bug. I reported it on GitHub issue channel: https://github.com/highcharts/highcharts/issues/13406
Please follow this thread. If you need a temporary workaround - ask about it in the comment. Core developers will respond to you.

jqplot export image, xaxis not rendering properly

I am using JQPlot to generate the graphs, i am converting the graph to image. But in the converted image the xaxis labels are starting from the middle of the graph, instead of beginning. Can anyone knows about this issue and how to solve it?
Thanks in advance.
I have also faced this type of issue. Make sure that The placeholder where you plot your graph don't have text-align:center css property. Otherwise It will start plotting x axis from middle instead of starting point.

how to change a point color, style or size in line chart using achartengine android

I'm developing an app now with achartengine to draw a line chart. Now I have a problem with an effect that I hope to fix. The effect is, when users touch a point on the line chart the color or style of point can be changed to different color or style. But the other points should remain the same as before.
I was not able to find any function to set a point color or style on achartengine API document.
Can someone please point me to any documentation that can help me with my problem?
There isn't such API available. However, you could create a temporary series that would contain one single point (the selected one), add it only as long as you need it and when no longer needed, just remove it from the dataset.

flot.axislabels: how to choose labels' colors?

I am using flot with the plugin "jquery.flot.axislabels.js", but I can't find other documentation than the README file.
So the general question is "where can I find some complete documentation ?"
And the more specific one is: "How to set the label's color ?"
Some properties are available, such as "axisLabelFontSizePixels", "axisLabelFontFamily", etc... so I've tried "axisLabelColor" and "axisLabelFontColor" without any result.
I tried to use CSS too, according to this: http://people.mozilla.com/~mcote/flot-axislabels/example/
But it does not work either. Maybe CSS is working with an older version of axislabel.js.
Ideally I'd avoid doing this with CSS, I guess that if we are able to choose the font we are able to choose the color. But I cant find what syntax I have to use...
If someone knows something, I'd be glad to read it :-)
Thanks and regards,
S.
From looking at the source code it doesn't look like the plugin provides that option in either of it's two modes of operation:
1.) Draw the labels using the canvas - no ability to set color (only font family and size). If you are handy with JavaScript adding color wouldn't be too difficult. (You are probably using this option since it explains why your CSS doesn't work.)
2.) Draw the labels using HTML DIVs. This is what your linked example does. In it the author specifies the color through an inline CSS tag. How I would do it though to keep it all together is after your plot call:
$('.yaxisLabel').css('color','red');
$('.y2axisLabel').css('color','orange');
$('.y3axisLabel').css('color','green');
$('.y4axisLabel').css('color','purple');
Example here.
I found it simpler to just add !important targeting the classes generated by flot. For targeting axis, you can aim for .yaxisLabel or .xaxisLabel, or for the whole thing target .flot-text.
.flot-text {
color: rgba(255, 255, 255, 0.3) !important
}
I know this question has one accepted answer, but just thought of sharing how I eventually got it working.
FLot version: Flot 0.8.3
I had to explicitly set axisLabelUseCanvas:false and then write a bit of jQuery code:
$('.flot-tick-label').css('color','red');
And there we go, after couple of hours of frustration, it was finally red!
Hope this helps someone who is lost in Flot.
I had to set axisLabelUseCanvas:false explicitly and use $('.axisLabels').css('color','red'); to make them red

Resources