Change ChartCursorBalloonText in Javascript Amcharts - amcharts

Hi i am using javascript AmCharts and this one’s an AmSerialChart. Although we are showing dates in the category axis, the requirement is such that we cannot show them as dates but as strings. Keeping this in mind, I would need to show the chartcursor balloon text as the full date, for example ‘08/05/2013’. How can I achieve this?

i hope i undestood you right.
to let amcharts understand your date format specify dataDateFormat
http://docs.amcharts.com/3/javascriptcharts/AmSerialChart#dataDateFormat
then turn on parseDates in the categoryAxis to enable the date parsing
http://docs.amcharts.com/3/javascriptcharts/CategoryAxis#parseDates
you might want to format the category axis as well
http://docs.amcharts.com/3/javascriptcharts/CategoryAxis#minPeriod
http://docs.amcharts.com/3/javascriptcharts/CategoryAxis#dateFormats
and here the latest step to format the chart cursor which you've asked for
http://docs.amcharts.com/3/javascriptcharts/ChartCursor#categoryBalloonDateFormat
I hope that will help you :)

Related

AppSheet + Spreadsheet: AppSheet won't display formulaically generated image

I am stuck on this problem and request your guidance. Appreciate it in advance!
I am trying to display QR code images on the Appsheet. The images need to come from spreadsheet where they are stored in a column named QR code. The QR codes are unique for each row and are formulaically generated by an array formula in the first row of this column like this:
=ArrayFormula(if(isblank($A$2:$A), "", image("https://chart.googleapis.com/chart?chs=150x150&cht=qr&chl="&$A$2:$A)))
In the appsheet I have tried making this column of type image, drawing, thumbnail etc. But none of it is working.
I read somewhere that such dynamically generated images don't work with appsheet. It would be really a bummer for me.
I also explored an option to add one more column in the spreadsheet where the image.png could be statically stored somehow. But I was not successful in that.
It would be really great if you could please help me solve this problem.
Thank you so much folks!
Just use the formula in your spreadsheet
=ArrayFormula(image("https://chart.googleapis.com/chart?chs=150x150&cht=qr&chl="&$A$2:$A))
https://www.youtube.com/watch?v=hrfPldfrOcc

BIRT - expression builder: HTML Table + Dataset field does not evaluate

I am new to BIRT and its awesome but I am unable to make a bullet point list where each bullet point is a field from my dataset. Without using any html the datasetfield evaluates but as soon as I add an html tag it will simply show the name of the field.
This
<ul>
<li><value-of> row["SRRI"] </value-of></li>
</ul>
Shows:
row["SRRI"]
But I want it to show the value of row["SRRI"] instead. (Omitting "" does not change the output for me)
I was searching for a solution for a few hours now and I guess its fairly simple but I cannot find a solution on how to tell BIRT that this is not a string.
It sounds like you have a list, and you want to lead each entry with a bullet point. In your report design, you can put a cell in front of your row["SRRI"] value and put what ever bullet image you want there.

How to use d3.js custom locale?

I dont find any example for how to use d3.locale.
D3.js Documentation page says we have to set variable while putting.
But i am not clear about this.
Can any one help me, how to use d3.locale time format or suggest any examples

HighchartsTable jQuery plugin - is it possible to have labels on axis-Y and values on axis-X

when I create a column chart using jQuery HighchartsTable plugin (not jason based highchart), the labels are on axis-X and values are on axis-Y by default.
I need the reverse, I have many long labels, they don't fit horizontally .
is it possible to have labels on axis-Y and values on axis-X ?
Thanks.
P.S. And can I replace word "Valeur" with my own ? :)
You can set inverted parameter as true
http://api.highcharts.com/highcharts#chart.inverted

Hours labelling for RadChart

I'm trying to use Telerik's RadChart (Spline) on WP7 to display the hourly temperature forecast. I'm having a hard time finding information on how to set the horizontal-axis to group by hour. The examples project contains a chart grouped by month, but when I change
DateTimeComponent="Month" LabelFormat="MMM yyyy"
to:
DateTimeComponent="Hour" LabelFormat="hh ddd"
I get a divide-by-zero error when it tries to build the axis.
Here is an example of what I'm trying to achieve:
NOAA Hourly Weather Forecast Graph
Anyone know of a tutorial or what I might be doing wrong?
Thanks
For the LabelFormat can you please try "h tt"? I don't have access to try right now, but that should work. The format would be "3 PM"
What solved it for me was to switch DateTimeCategoricalAxis to a DateTimeContinuousAxis. I found the examples in the Telerik samples app very helpful.
<telerikChart:DateTimeContinuousAxis
LabelFitMode="MultiLine"
LabelFormat="htt"
MajorStep="6"
LabelStyle="{StaticResource PhoneTextSmallStyle}"
MajorStepUnit="Hour"
PlotMode="OnTicks" />

Resources