Built files from Bizgaze WebServer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pivot.jp.js 2.9KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. (function() {
  2. var callWithJQuery;
  3. callWithJQuery = function(pivotModule) {
  4. if (typeof exports === "object" && typeof module === "object") {
  5. return pivotModule(require("jquery"));
  6. } else if (typeof define === "function" && define.amd) {
  7. return define(["jquery"], pivotModule);
  8. } else {
  9. return pivotModule(jQuery);
  10. }
  11. };
  12. callWithJQuery(function($) {
  13. var jpFmt, jpFmtInt, jpFmtPct, nf, tpl;
  14. nf = $.pivotUtilities.numberFormat;
  15. tpl = $.pivotUtilities.aggregatorTemplates;
  16. jpFmt = nf({
  17. thousandsSep: ",",
  18. decimalSep: "."
  19. });
  20. jpFmtInt = nf({
  21. digitsAfterDecimal: 0,
  22. thousandsSep: ",",
  23. decimalSep: "."
  24. });
  25. jpFmtPct = nf({
  26. digitsAfterDecimal: 1,
  27. scaler: 100,
  28. suffix: "%",
  29. thousandsSep: ",",
  30. decimalSep: "."
  31. });
  32. return $.pivotUtilities.locales.ja = {
  33. localeStrings: {
  34. renderError: "描画処理でエラーが発生しました。",
  35. computeError: "処理中にエラーが発生しました。",
  36. uiRenderError: "表示処理中にエラーが発生しました。",
  37. selectAll: "全選択",
  38. selectNone: "選択解除",
  39. tooMany: "項目が多すぎます",
  40. filterResults: "項目を検索する",
  41. totals: "合計",
  42. vs: "vs",
  43. by: "per",
  44. apply: "適用する",
  45. cancel: "キャンセル"
  46. },
  47. aggregators: {
  48. "件数": tpl.count(jpFmtInt),
  49. "件数(ユニーク)": tpl.countUnique(jpFmtInt),
  50. "ユニーク値を表示 (CSV)": tpl.listUnique(", "),
  51. "合計": tpl.sum(jpFmt),
  52. "合計(整数)": tpl.sum(jpFmtInt),
  53. "平均": tpl.average(jpFmt),
  54. "最小": tpl.min(jpFmt),
  55. "最大": tpl.max(jpFmt),
  56. "選択2項目の比率": tpl.sumOverSum(jpFmt),
  57. "選択2項目の比率(上限80%)": tpl.sumOverSumBound80(true, jpFmt),
  58. "選択2項目の比率(下限80%)": tpl.sumOverSumBound80(false, jpFmt),
  59. "合計割合": tpl.fractionOf(tpl.sum(), "total", jpFmtPct),
  60. "合計割合(行)": tpl.fractionOf(tpl.sum(), "row", jpFmtPct),
  61. "合計割合(列)": tpl.fractionOf(tpl.sum(), "col", jpFmtPct),
  62. "件数割合": tpl.fractionOf(tpl.count(), "total", jpFmtPct),
  63. "件数割合(行)": tpl.fractionOf(tpl.count(), "row", jpFmtPct),
  64. "件数割合(列)": tpl.fractionOf(tpl.count(), "col", jpFmtPct)
  65. },
  66. renderers: {
  67. "表": $.pivotUtilities.renderers["Table"],
  68. "表(棒グラフ)": $.pivotUtilities.renderers["Table Barchart"],
  69. "ヒートマップ": $.pivotUtilities.renderers["Heatmap"],
  70. "ヒートマップ(行)": $.pivotUtilities.renderers["Row Heatmap"],
  71. "ヒートマップ(列)": $.pivotUtilities.renderers["Col Heatmap"]
  72. }
  73. };
  74. });
  75. }).call(this);