Anychart - Stock Chart Grouping Button - grouping

On most stock charts by default you will see a grouping button on the top left corner to group by minutes, hours, days, weeks. How to enable this feature in AnyChart? I've searched the docs thoroughly but couldn't find my answer.

The chart grouping parameters can be adjusted using the library API. The article describes in detail all aspects of the grouping feature and available options. Using the API you can implement any UI to switch the grouping, just like in the sample.

Related

oracle apex 18.2 chart conditional formatting

As i am totally newbie to oracle apex technologies i am developing a simple chart application in which I have build a simple Bar Chart in apex 18.2, i want to do some conditional changes on chart on the basis of data retrieving from database , i didn't found any HTML expression box to enter custom HTML Expression , I need some Suggestion or Some good examples for to Customize the Chart behavior via css or java script , i have done googling but didn't found any useful material for apex 18.2 as all of examples are for some older versions.
Charts in APEX 18.2 are based on Oracle JET engine. If you're going spend more time on charts development, I advice you to check out this toolkit, and how it works. (https://www.oracle.com/webfolder/technetwork/jet/globalGetStarted.html)
If you just need a quick suggestions how to customize chart behavior then:
-set a static ID for your chart in application builder. It should be static ID of whole chart region, not just particular series.
-in the application use developer tools to figure out how chart widget works. In console you can easly catch the widget by jQuery selector $("#yourStaticID_jet"). "_jet" is crucial here. On this jQuery object you can use method ojChart() to interact with chart widget.
All available options for ojChart method are documented here: https://docs.oracle.com/cd/E87657_01/jet/reference-jet/oj.ojChart.html
At the beginning you can try:
$("#yourStaticID_jet").ojChart("option");
what should return object with all current options of the widget. Many of them let you impact the way your chart works. Some of them are not possible to set from application builder.
When you decide to change something dynamicly you can create Dynamic Action (for e.g. on some button) and choose type of action "Execute JavaScript Code". A nice example would be turning on stack property of your chart:
$("#yourStaticID_jet").ojChart({stack: 'on'});
There is also way to initialize your chart with some options. For this purpose go to Attribute section of your chart, and scroll down to "Advanced" JavaScript Initialization Code. Help text for this section will provide you example code.

Free shipping by number of items, not monetary value, in Bigcommerce

I've been asked by a client to look into the possibility of allowing free shipping for orders of more than three items. Essentially this means allowing for a (shipping) pricing structure based on item count rather than total value.
(For a TL;DR, you could probably stop with that problem statement, but I'll provide some solution investigation context below. Maybe I've missed something.)
The admin UI only allows for setting free shipping based on monetary value. Similarly, the "Ship by" category of price options adds the ability to use weight in calculations, but alas not item count.
There seems to be no way to influence the shipping cost through the API. A %%GLOBAL_ShippingPrice%% variable is available to templates and, as I understand things, is calculated only using those admin-configured shipping configuration options described above. The Shipping API only seems to deal with shipping methods (physical not API methods!), and unfortunately the Orders API seems to offer nothing related to shipping costs either. Hmm.
I've looked into hacking the template files, but cannot find any support for custom expressions using the variables available.
We've asked Bigcommerce support, submitted an "idea", and obviously searched the interwebs and poked around the developer documentation. I'm so new, I only heard about Bigcommerce yesterday.
Any suggestions will be greatly appreciated.
Note: First draft of this question included an inline screenshot and lots of relevant hyperlinks. Seems important for a quality question. Apparently I need more karma to insert most of that. I'll edit this question later, if possible and I ever get there, to include those helpful features.
Since Bigcommerce is not an open source platform, you cannot adjust things like shipping services and their actual functionality.
The only workaround I can think of would be to set every product to the same weight(1lb, for example) then set up shipping by weight which says cart >= 3lbs ships free. This will present a problem if you are using real time quotes from providers such as FedEx, USPS, or UPS though.
In the future I would suggest looking at their community forum(forum.bigcommerce.com) for questions such as this, since it does not actually pertain do the development of their API or templating system.
Best of luck!
This is possible if you use ShipperHQ. Here are the steps to configure it:
In ShipperHQ, ensure you have your UPS Carrier set with UPS Ground as
an available shipping method.
Click on Filters on the navbar and add
a new filter.
On your new filter, select “Whole Cart” under Filter
Applies To in the Edit Filter panel and enter a Name you’ll recognize
(e.g. “Over 3 items”).
In the Standard Filters panel, select “Range”
for the Quantity filter, enter a Min value of 3 and check the No Max
checkbox and Save.
You now have a filter set up which will match
against an order total with more than 3 items.
Click on Carrier
Rules on the navbar and add a new Rule.
Enter a descriptive Name
(e.g. “Free UPS Ground over 3 items”) under the Overview panel and
select UPS Ground in the Live Shipping Methods Assigned field under
the Applicable Shipping Methods panel.
In the Conditions panel,
select the Filter you just set up under Weight/Price/Quantity Filters
In the Actions panel and the Rule Action section, choose
“Set/Surcharge Shipping Methods” from the Action to Perform
drop-down, “Set Rates” from the Adapt Shipping Rates drop-down, and
“Per Cart” in the Apply Shipping Rate/Percentage drop-down.
In the
Set/Modify Shipping Rate section of the Actions panel, enter 0 in the
Shipping Rate field.
Save your rule.
ShipperHQ will now set UPS Ground to Free if the order has over 3 items.
Source: http://docs.shipperhq.com/how-to-set-up-free-shipping-for-orders-with-more-than-x-amount-of-items/

Bar chart with values placed on the chart instead of in tooltip

i'm trying to create some charts with google charts api. I need a bar chart with values placed directly on the chart (not on the tooltip which is set by default). I know that it was possible in Image Charts (which are now deprecated). Is there any way to achive a similar result in Google Charts? I will be grateful for any help or advice...
Here are some examples of what i want to achieve:
No, there isn't. See the answer in this question.
Quote follows:
This feature is not currently supported. The only way to implement it is to write some fancy javascript to create it.
I am no pro at working with SVG with javascript, and won't pretend to be. I'll let you know what I found out with Firebug, and share that.
Using this chart I inspected the SVG element that's created. It has 5 different <g> (I'm assuming group) elements.
g[1] contains information on the title.
g[2] contains the legend
g[3] contains the chart information (sub-groups with the chart
area, gridlines, series, axis label values, etc.) -- when a point is
selected, this shows the circle/double-circle for that point too
g[4] contains axis titles
g[5] contains the tooltips in two separate groups, but only on
mouseover
Here is the function in the code that gets triggered when you mouseover a point:
Y.Ov=function(a,b,c){a=new kv(a);var d=this.Mf.pk(Wj);b=b[zc](sd);d[w](this.Mf[sb](b[0]));for(var e=1;e<b[L];++e)d[w](this.Mf.pk(ti)),d[w](this.Mf[sb](b[e]));Qt(d,c);a.t()[w](d);a.Zz(100);a.Yz(100);this.on[y](a);return a};Y.appendChild=function(a,b){if(b){var c;if(b[Bc]==Sv){if(!b.Th())return;c=b.t()}else c=b;a.t()[w](c)}};Y.replaceChild=function(a,b,c){a.t().replaceChild(b,c);Cu(c)};Y.Fg=function(a){a.Th()&&this.xs(a.t())};Y.xs=function(a){this.Mf.Fg(a)};Y.ds=function(a){this.Mf.removeNode(a);Cu(a)};
This probably doesn't help you. I can't find any easy way to create a workaround for this (oh-so-needed) feature. Sorry there's no solution yet!

Setting default font size for graphs in Powerpoint

I've found no other stackexchange site to ask this question so I present it here. If there's a more appropriate place for it please let me know.
I have just been given a ms-powerpoint template document to fix. It was created by designers using the slide master editor in MS-Office 2011 for Mac. The problem is that when the customer creates a new slide using one of these templates and then wants to insert a chart into one of the designated boxes (which is only one of the things that can be stuck in there) the text in the chart is always set at 18pt. I've looked everywhere for a setting that sets the default font size for charts (and smart art) for only that document but have been unable to find it.
Any pointers or help of any kind would be more than great.
I received the following answer from James Gordon from a Microsoft forum:
Charts are handled by Excel. In Excel you can create Chart Template,
which are saved in (.crtx) file format and will appear in the Ribbon.
The way to do it is to customize a chart and then right-click on the
chart. Use the Save As Template option from the pop-up menu. If you
save your template in the Chart Templates folder (the default when the
save dialog opens), after you quit and then re-open Excel, the
template will be available to you in the Ribbon.
SmartArt is within your PowerPoint presentation. There are various
approaches you might take regarding SmartArt. As you pointed out,
SmartArt can be specified in a Slide Master, or on Slide Design.
Saving a presentation as a Theme (.thmx) is one option. Another save
option is to save as a Template, which is more comprehensive (includes
every aspect of a slide show).

Using Google Annotated Time Line Chart Without Flash

I want a similar behavior Chart as Google Annotated Time Line Chart to display my Time Series Data from DataBase In our environment we are restricted using Flash .
But i see that Google Annotated Time Line Chart works only with Flash .
I want a similar behavior as of Google Annotated Time Line Chart showing two charts , where the below Chart helps us to select a Range and the Upper Chart displays the Zoomed Area .
I wanted to develop this by taking two divs , but i am struck up as how to maintain synchronization between these two divs (Chart Div and Slider Div)
If anybody developed has developed Google Annotated Time Line Chart Without Flash , please give some inputs as how to develop this .
Thank you very much for reading .
check out https://code.google.com/apis/ajax/playground/?type=visualization#chartrangefilter_control
I believe you can do simple annotations also using data roles 'annotation' and 'annotationtext' (not too much styling though). You can find more info here https://developers.google.com/chart/interactive/docs/roles.
I just ran into this:
http://www.highcharts.com/demo/dynamic-master-detail
It's not free but it looks interesting.
there is no other way to make charts in Google without Flash at the moment